Instructions to use joonhan/roberta-roa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use joonhan/roberta-roa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="joonhan/roberta-roa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("joonhan/roberta-roa") model = AutoModelForTokenClassification.from_pretrained("joonhan/roberta-roa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ajskdlf64 commited on
Commit ·
fc7f28d
1
Parent(s): cef1d94
add model
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
| 47 |
"LABEL_9": 9
|
| 48 |
},
|
| 49 |
"layer_norm_eps": 1e-05,
|
| 50 |
-
"max_position_embeddings":
|
| 51 |
"model_type": "roberta",
|
| 52 |
"num_attention_heads": 16,
|
| 53 |
"num_hidden_layers": 24,
|
|
|
|
| 47 |
"LABEL_9": 9
|
| 48 |
},
|
| 49 |
"layer_norm_eps": 1e-05,
|
| 50 |
+
"max_position_embeddings": 514,
|
| 51 |
"model_type": "roberta",
|
| 52 |
"num_attention_heads": 16,
|
| 53 |
"num_hidden_layers": 24,
|
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:11b88cb72553115836e8a6f40b1eacd71048b6def46f3ca26e7825f5d4cc899a
|
| 3 |
+
size 1342652017
|