flavioschneider
commited on
Commit
•
e74dfc1
1
Parent(s):
7a07832
Upload config
Browse files- config.json +7 -0
- config.py +5 -0
config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_map": {
|
3 |
+
"AutoConfig": "config.AdapterConfig"
|
4 |
+
},
|
5 |
+
"model_type": "archinetai/adapter-A-v1",
|
6 |
+
"transformers_version": "4.24.0"
|
7 |
+
}
|
config.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import PretrainedConfig
|
2 |
+
from typing import Sequence
|
3 |
+
|
4 |
+
class AdapterConfig(PretrainedConfig):
|
5 |
+
model_type = "archinetai/adapter-A-v1"
|