Instructions to use asfafaaf3434/MyAwesomeModel-TestRepository with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asfafaaf3434/MyAwesomeModel-TestRepository with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="asfafaaf3434/MyAwesomeModel-TestRepository")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("asfafaaf3434/MyAwesomeModel-TestRepository") model = AutoModel.from_pretrained("asfafaaf3434/MyAwesomeModel-TestRepository", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- config.json +3 -35
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,36 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
],
|
| 6 |
-
"vocab_size": 30522,
|
| 7 |
-
"hidden_size": 768,
|
| 8 |
-
"num_hidden_layers": 12,
|
| 9 |
-
"num_attention_heads": 12,
|
| 10 |
-
"max_position_embeddings": 512,
|
| 11 |
-
"type_vocab_size": 2,
|
| 12 |
-
"id2label": {
|
| 13 |
-
"0": "LABEL_0",
|
| 14 |
-
"1": "LABEL_1",
|
| 15 |
-
"2": "LABEL_2",
|
| 16 |
-
"3": "LABEL_3",
|
| 17 |
-
"4": "LABEL_4",
|
| 18 |
-
"5": "LABEL_5",
|
| 19 |
-
"6": "LABEL_6",
|
| 20 |
-
"7": "LABEL_7",
|
| 21 |
-
"8": "LABEL_8",
|
| 22 |
-
"9": "LABEL_9"
|
| 23 |
-
},
|
| 24 |
-
"label2id": {
|
| 25 |
-
"LABEL_0": 0,
|
| 26 |
-
"LABEL_1": 1,
|
| 27 |
-
"LABEL_2": 2,
|
| 28 |
-
"LABEL_3": 3,
|
| 29 |
-
"LABEL_4": 4,
|
| 30 |
-
"LABEL_5": 5,
|
| 31 |
-
"LABEL_6": 6,
|
| 32 |
-
"LABEL_7": 7,
|
| 33 |
-
"LABEL_8": 8,
|
| 34 |
-
"LABEL_9": 9
|
| 35 |
-
}
|
| 36 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "bert",
|
| 3 |
+
"architectures": ["BertModel"]
|
| 4 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:965362299a238de576a92dfdd3e32aea7a2bacc94b2c41541c8c9258b923f587
|
| 3 |
+
size 23
|