Update README.md
Browse files
README.md
CHANGED
@@ -6,9 +6,10 @@ tags:
|
|
6 |
- pytorch
|
7 |
- tensorflow
|
8 |
- text-classification
|
9 |
-
- industry
|
10 |
-
- buisiness
|
11 |
-
-
|
|
|
12 |
- classification
|
13 |
liscence: "mit"
|
14 |
inference: false
|
@@ -29,7 +30,7 @@ PyTorch and TF models available
|
|
29 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
30 |
|
31 |
tokenizer = AutoTokenizer.from_pretrained("sampathkethineedi/industry-classification")
|
32 |
-
model = AutoModelForSequenceClassification.from_pretrained("industry-classification")
|
33 |
|
34 |
industry_tags = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
|
35 |
industry_tags("Stellar Capital Services Limited is an India-based non-banking financial company ... loan against property, management consultancy, personal loans and unsecured loans.")
|
|
|
6 |
- pytorch
|
7 |
- tensorflow
|
8 |
- text-classification
|
9 |
+
- industry
|
10 |
+
- buisiness
|
11 |
+
- description
|
12 |
+
- multi-class
|
13 |
- classification
|
14 |
liscence: "mit"
|
15 |
inference: false
|
|
|
30 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
31 |
|
32 |
tokenizer = AutoTokenizer.from_pretrained("sampathkethineedi/industry-classification")
|
33 |
+
model = AutoModelForSequenceClassification.from_pretrained("sampathkethineedi/industry-classification")
|
34 |
|
35 |
industry_tags = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
|
36 |
industry_tags("Stellar Capital Services Limited is an India-based non-banking financial company ... loan against property, management consultancy, personal loans and unsecured loans.")
|