Instructions to use sofom/roberta-base-mage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sofom/roberta-base-mage with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sofom/roberta-base-mage")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sofom/roberta-base-mage") model = AutoModel.from_pretrained("sofom/roberta-base-mage") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "FacebookAI/roberta-base",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "FacebookAI/roberta-base",
|
| 3 |
"architectures": [
|
| 4 |
+
"RobertaModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
model.safetensors
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:b861d09031a587dca3a46cde014a0606e032614e4db71d1147ae7f38393716e6
|
| 3 |
+
size 249313784
|