Instructions to use NorGLM/Entailment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NorGLM/Entailment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NorGLM/Entailment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NorGLM/Entailment") model = AutoModelForSequenceClassification.from_pretrained("NorGLM/Entailment") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -92,11 +92,12 @@ ent_ratio, neu_ratio, con_ratio = entailment_score(articles, references, hypo_li
|
|
| 92 |
If you feel our work is helpful, please cite our paper:
|
| 93 |
|
| 94 |
```
|
| 95 |
-
@
|
| 96 |
-
title={NLEBench+
|
| 97 |
-
author={Liu, Peng and Zhang, Lemei and Farup, Terje
|
| 98 |
-
|
| 99 |
-
|
|
|
|
| 100 |
}
|
| 101 |
```
|
| 102 |
|
|
|
|
| 92 |
If you feel our work is helpful, please cite our paper:
|
| 93 |
|
| 94 |
```
|
| 95 |
+
@inproceedings{liu2024nlebench+,
|
| 96 |
+
title={NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian},
|
| 97 |
+
author={Liu, Peng and Zhang, Lemei and Farup, Terje and Lauvrak, Even and Ingvaldsen, Jon and Eide, Simen and Gulla, Jon Atle and Yang, Zhirong},
|
| 98 |
+
booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
|
| 99 |
+
pages={5543--5560},
|
| 100 |
+
year={2024}
|
| 101 |
}
|
| 102 |
```
|
| 103 |
|