ilsilfverskiold commited on
Commit
b440902
1 Parent(s): 00af71f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -12
README.md CHANGED
@@ -12,25 +12,21 @@ pipeline_tag: text2text-generation
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
- # bart_keywords
16
 
17
- This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on a dataset in the hub called [sunhaozhepy/ag_news_keywords_embeddings](https://huggingface.co/datasets/sunhaozhepy/ag_news_keywords_embeddings).
18
  It achieves the following results on the evaluation set:
19
  - Loss: 0.6179
20
 
21
- ## Model description
22
 
23
- More information needed
 
24
 
25
- ## Intended uses & limitations
 
26
 
27
- More information needed
28
-
29
- ## Training and evaluation data
30
-
31
- More information needed
32
-
33
- ## Training procedure
34
 
35
  ### Training hyperparameters
36
 
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
+ # Model description
16
 
17
+ This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on a dataset in the hub called [sunhaozhepy/ag_news_keywords_embeddings](https://huggingface.co/datasets/sunhaozhepy/ag_news_keywords_embeddings) to extract main keywords from text.
18
  It achieves the following results on the evaluation set:
19
  - Loss: 0.6179
20
 
21
+ ## Intended use
22
 
23
+ ```
24
+ from transformers import pipeline
25
 
26
+ pipe = pipeline('summarization', model='bart_keywords_model')
27
+ print(pipe("Aria Opera GPT version - All the browsers come with their own version of AI. So I gave it a try and ask it with LLM it was using. First if all it didn't understand the question. Then I explained and asked which version. I got the usual answer about a language model that is not aware of it's own model I find that curious, but also not transparent. My laptop, software all state their versions and critical information. But something that can easily fool a lot of people doesn't. What I also wonder if the general public will be stuck to ChatGPT 3.5 for ever while better models are behind expensive paywalls."))
28
 
29
+ ```
 
 
 
 
 
 
30
 
31
  ### Training hyperparameters
32