Instructions to use WesScivetti/SNACS_English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WesScivetti/SNACS_English with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="WesScivetti/SNACS_English")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("WesScivetti/SNACS_English") model = AutoModelForTokenClassification.from_pretrained("WesScivetti/SNACS_English", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,49 +19,46 @@ This is the English SNACS Classification Model for Semantic Supersense Classific
|
|
| 19 |
|
| 20 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 21 |
|
| 22 |
-
- **Developed by:**
|
| 23 |
-
- **
|
| 24 |
-
- **
|
| 25 |
-
- **
|
| 26 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 27 |
- **License:** [More Information Needed]
|
| 28 |
-
- **Finetuned from model [optional]:**
|
| 29 |
|
| 30 |
### Model Sources [optional]
|
| 31 |
|
| 32 |
<!-- Provide the basic links for the model. -->
|
| 33 |
|
| 34 |
-
- **Repository:**
|
| 35 |
-
- **Paper [optional]:**
|
| 36 |
-
- **Demo [optional]:** [More Information Needed]
|
| 37 |
|
| 38 |
## Uses
|
| 39 |
|
| 40 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 41 |
|
|
|
|
|
|
|
| 42 |
### Direct Use
|
| 43 |
|
| 44 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
|
|
|
| 45 |
|
| 46 |
-
[More Information Needed]
|
| 47 |
|
| 48 |
-
### Downstream Use [optional]
|
| 49 |
|
| 50 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 51 |
|
| 52 |
-
[More Information Needed]
|
| 53 |
|
| 54 |
### Out-of-Scope Use
|
| 55 |
|
| 56 |
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
## Bias, Risks, and Limitations
|
| 61 |
|
| 62 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 63 |
|
| 64 |
-
|
| 65 |
|
| 66 |
### Recommendations
|
| 67 |
|
|
@@ -81,26 +78,22 @@ Use the code below to get started with the model.
|
|
| 81 |
|
| 82 |
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
### Training Procedure
|
| 87 |
|
| 88 |
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 89 |
|
|
|
|
|
|
|
| 90 |
#### Preprocessing [optional]
|
| 91 |
|
| 92 |
-
|
| 93 |
|
| 94 |
|
| 95 |
#### Training Hyperparameters
|
| 96 |
|
| 97 |
-
- **Training regime:**
|
| 98 |
-
|
| 99 |
-
#### Speeds, Sizes, Times [optional]
|
| 100 |
-
|
| 101 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 102 |
-
|
| 103 |
-
[More Information Needed]
|
| 104 |
|
| 105 |
## Evaluation
|
| 106 |
|
|
|
|
| 19 |
|
| 20 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 21 |
|
| 22 |
+
- **Developed by:** Wesley Scivetti, Lauren Levine, Nathan Schneider
|
| 23 |
+
- **Shared by [optional]:** Wesley Scivetti
|
| 24 |
+
- **Model type:** Fine-tuned Roberta-large for token classification
|
| 25 |
+
- **Language(s) (NLP):** English
|
|
|
|
| 26 |
- **License:** [More Information Needed]
|
| 27 |
+
- **Finetuned from model [optional]:** Roberta-large
|
| 28 |
|
| 29 |
### Model Sources [optional]
|
| 30 |
|
| 31 |
<!-- Provide the basic links for the model. -->
|
| 32 |
|
| 33 |
+
- **Repository:** https://github.com/WesScivetti/snacs/
|
| 34 |
+
- **Paper [optional]:** https://aclanthology.org/2025.coling-main.247/
|
|
|
|
| 35 |
|
| 36 |
## Uses
|
| 37 |
|
| 38 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
|
| 40 |
+
Used for generating SNACS predictions for English preposition ssense disambiguation.
|
| 41 |
+
|
| 42 |
### Direct Use
|
| 43 |
|
| 44 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 45 |
+
This model has already been fine-tuned and does not need any further training.
|
| 46 |
|
|
|
|
| 47 |
|
|
|
|
| 48 |
|
|
|
|
| 49 |
|
|
|
|
| 50 |
|
| 51 |
### Out-of-Scope Use
|
| 52 |
|
| 53 |
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 54 |
|
| 55 |
+
Only appropriate for English. For other languages use the appropriate model.
|
| 56 |
|
| 57 |
## Bias, Risks, and Limitations
|
| 58 |
|
| 59 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 60 |
|
| 61 |
+
Biases, limitations associated with original Roberta-large model.
|
| 62 |
|
| 63 |
### Recommendations
|
| 64 |
|
|
|
|
| 78 |
|
| 79 |
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 80 |
|
| 81 |
+
English Streusle Dataset: https://github.com/nert-nlp/streusle
|
| 82 |
|
| 83 |
### Training Procedure
|
| 84 |
|
| 85 |
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 86 |
|
| 87 |
+
Fine-tuning for token classification, predicting LexTag field from Streusle.
|
| 88 |
+
|
| 89 |
#### Preprocessing [optional]
|
| 90 |
|
| 91 |
+
Takes Conllulex file format as input, see streusle repo for more details.
|
| 92 |
|
| 93 |
|
| 94 |
#### Training Hyperparameters
|
| 95 |
|
| 96 |
+
- **Training regime:** See paper for hyperparameter details. <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
## Evaluation
|
| 99 |
|