Text Classification
Transformers
PyTorch
ONNX
English
bert
text-generation
text-embeddings-inference
Instructions to use MattStammers/Covid19_Text_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MattStammers/Covid19_Text_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MattStammers/Covid19_Text_Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MattStammers/Covid19_Text_Model") model = AutoModelForSequenceClassification.from_pretrained("MattStammers/Covid19_Text_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1cd1f2f
1
Parent(s): b7bbc93
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,8 @@ finetuned_from: https://thigm85.github.io/data/cord19/cord19-query-title-label.c
|
|
| 10 |
repo: >-
|
| 11 |
https://huggingface.co/MattStammers/Covid19_Text_Model?text=Comprehensive+overview+of+COVID-19.+Comprehensive+overview+of+Flu
|
| 12 |
paper: N/A
|
| 13 |
-
demo:
|
|
|
|
| 14 |
direct_use: Test it out here
|
| 15 |
downstream_use: This is a standalone app
|
| 16 |
out_of_scope_use: >-
|
|
@@ -39,7 +40,7 @@ preprocessing: Sentence Pairs to analyse similarity
|
|
| 39 |
training_regime: User Defined
|
| 40 |
speeds_sizes_times: Not Relevant
|
| 41 |
metrics: Not Given
|
| 42 |
-
pipeline_tag: text-
|
| 43 |
---
|
| 44 |
This is a basic inference BERT model which has been fine-tuned to discriminate between covid19 and non-covid-19 relevant texts.
|
| 45 |
|
|
|
|
| 10 |
repo: >-
|
| 11 |
https://huggingface.co/MattStammers/Covid19_Text_Model?text=Comprehensive+overview+of+COVID-19.+Comprehensive+overview+of+Flu
|
| 12 |
paper: N/A
|
| 13 |
+
demo: >-
|
| 14 |
+
https://huggingface.co/MattStammers/Covid19_Text_Model?text=Comprehensive+overview+of+COVID-19.+Comprehensive+overview+of+Flu
|
| 15 |
direct_use: Test it out here
|
| 16 |
downstream_use: This is a standalone app
|
| 17 |
out_of_scope_use: >-
|
|
|
|
| 40 |
training_regime: User Defined
|
| 41 |
speeds_sizes_times: Not Relevant
|
| 42 |
metrics: Not Given
|
| 43 |
+
pipeline_tag: text-classification
|
| 44 |
---
|
| 45 |
This is a basic inference BERT model which has been fine-tuned to discriminate between covid19 and non-covid-19 relevant texts.
|
| 46 |
|