Commit ·
53c8a90
1
Parent(s): b6da0f4
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
This is a basic inference BERT model which has been fine-tuned to discriminate between covid19 and non-covid-19 relevant texts.
|
| 5 |
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
license: mit
|
| 4 |
+
model_id: Covid19_Text_Model
|
| 5 |
+
developers: Matt Stammers
|
| 6 |
+
model_type: BERT
|
| 7 |
+
model_summary: This model looks to compare texts for relevance to Covid-19
|
| 8 |
+
shared_by: Matt Stammers
|
| 9 |
+
finetuned_from: 'https://thigm85.github.io/data/cord19/cord19-query-title-label.csv'
|
| 10 |
+
repo: https://huggingface.co/MattStammers/Covid19_Text_Model?text=Comprehensive+overview+of+COVID-19.+Comprehensive+overview+of+Flu
|
| 11 |
+
paper: N/A
|
| 12 |
+
demo: N/A
|
| 13 |
+
direct_use: Test it out here
|
| 14 |
+
downstream_use: This is a standalone app
|
| 15 |
+
out_of_scope_use: The model will not work with any very complex sentences or to compare more than 3 statements
|
| 16 |
+
bias_risks_limitations: Biases inherent in the google BERT base also apply here. Should not be used for clinical tasks. This is a toy demonstration app only.
|
| 17 |
+
bias_recommendations: Do not be surprised if unusual results are obtained
|
| 18 |
+
get_started_code: "\n ``` python \n # Use a pipeline as a high-level helper\n\
|
| 19 |
+
\ from transformers import pipeline\n\n pipe = pipeline(\"text-classification\"\
|
| 20 |
+
, model=\"MattStammers/Covid19_Text_Model\")\n # Load model directly\n \
|
| 21 |
+
\ from transformers import AutoTokenizer, AutoModelForSequenceClassification\n\
|
| 22 |
+
\n tokenizer = AutoTokenizer.from_pretrained(\"MattStammers/MattStammers/Covid19_Text_Model\"\
|
| 23 |
+
)\n model = AutoModelForSequenceClassification.from_pretrained(\"MattStammers/Covid19_Text_Model\"\
|
| 24 |
+
)\n ```\n "
|
| 25 |
+
training_data: 'https://thigm85.github.io/data/cord19/cord19-query-title-label.csv'
|
| 26 |
+
preprocessing: Sentence Pairs to analyse similarity
|
| 27 |
+
training_regime: User Defined
|
| 28 |
+
speeds_sizes_times: Not Relevant
|
| 29 |
+
metrics: Not Given
|
| 30 |
---
|
| 31 |
This is a basic inference BERT model which has been fine-tuned to discriminate between covid19 and non-covid-19 relevant texts.
|
| 32 |
|