haydarkadioglu commited on
Commit
e083fa5
ยท
verified ยท
1 Parent(s): f89b0e5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -27,7 +27,7 @@ pip install transformers datasets torch
27
 
28
 
29
  ## ๐Ÿ“Œ Contents
30
- - `bart_base_fine_tuned_cnn2.ipynb` โ†’ Jupyter notebook used for fine-tuning
31
  - Fine-tuned model files (`pytorch_model.bin`, `config.json`, `tokenizer.json`, etc.)
32
 
33
  ## ๐Ÿš€ Usage
@@ -38,7 +38,7 @@ After uploading the model to the Hugging Face Hub, you can use it like this:
38
  ```python
39
  from transformers import BartForConditionalGeneration, BartTokenizer
40
 
41
- model_name = "username/bart-base-cnn-finetuned" # replace with your repo name
42
  tokenizer = BartTokenizer.from_pretrained(model_name)
43
  model = BartForConditionalGeneration.from_pretrained(model_name)
44
 
 
27
 
28
 
29
  ## ๐Ÿ“Œ Contents
30
+ - `bart_base_fine_tuned_cnn.ipynb` โ†’ Jupyter notebook used for fine-tuning
31
  - Fine-tuned model files (`pytorch_model.bin`, `config.json`, `tokenizer.json`, etc.)
32
 
33
  ## ๐Ÿš€ Usage
 
38
  ```python
39
  from transformers import BartForConditionalGeneration, BartTokenizer
40
 
41
+ model_name = "haydarkadioglu/bart-base-cnn-finetuned" # replace with your repo name
42
  tokenizer = BartTokenizer.from_pretrained(model_name)
43
  model = BartForConditionalGeneration.from_pretrained(model_name)
44