Instructions to use aliosm/ComVE-gpt2-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aliosm/ComVE-gpt2-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="aliosm/ComVE-gpt2-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("aliosm/ComVE-gpt2-medium") model = AutoModel.from_pretrained("aliosm/ComVE-gpt2-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -55,6 +55,8 @@ The model achieved fifth place with 16.7153/16.1187 BLEU scores and third place
|
|
| 55 |
|
| 56 |
These are some examples generated by the model:
|
| 57 |
|
|
|
|
|
|
|
| 58 |
| Against Commonsense Statement | Generated Reason |
|
| 59 |
|:-----------------------------------------------------:|:--------------------------------------------:|
|
| 60 |
| Chicken can swim in water. | Chicken can't swim. |
|
|
@@ -68,6 +70,8 @@ These are some examples generated by the model:
|
|
| 68 |
| cars can float in the ocean just like a boat | Cars are too heavy to float in the ocean. |
|
| 69 |
| I am going to work so I can lose money. | Working is not a way to lose money. |
|
| 70 |
|
|
|
|
|
|
|
| 71 |
### BibTeX entry and citation info
|
| 72 |
|
| 73 |
```bibtex
|
|
|
|
| 55 |
|
| 56 |
These are some examples generated by the model:
|
| 57 |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
| Against Commonsense Statement | Generated Reason |
|
| 61 |
|:-----------------------------------------------------:|:--------------------------------------------:|
|
| 62 |
| Chicken can swim in water. | Chicken can't swim. |
|
|
|
|
| 70 |
| cars can float in the ocean just like a boat | Cars are too heavy to float in the ocean. |
|
| 71 |
| I am going to work so I can lose money. | Working is not a way to lose money. |
|
| 72 |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
### BibTeX entry and citation info
|
| 76 |
|
| 77 |
```bibtex
|