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 ·
a4df200
1
Parent(s): 9ade9e1
add model
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -57,5 +57,5 @@
|
|
| 57 |
"transformers_version": "4.8.2",
|
| 58 |
"type_vocab_size": 1,
|
| 59 |
"use_cache": true,
|
| 60 |
-
"vocab_size":
|
| 61 |
}
|
|
|
|
| 57 |
"transformers_version": "4.8.2",
|
| 58 |
"type_vocab_size": 1,
|
| 59 |
"use_cache": true,
|
| 60 |
+
"vocab_size": 32031
|
| 61 |
}
|
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:2f9e6ff15104d75de07e7926d42c2452b532a3e3b79ac17b0ab688d34229c2ba
|
| 3 |
+
size 1342778993
|