yoonusajward01 commited on
Commit
00f257f
1 Parent(s): 6f4b1e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -22,6 +22,7 @@ pipeline_tag: text-generation
22
  - **Library**: Transformers by Hugging Face
23
  - **Use Case**: Text generation focused on adventure travel itineraries
24
  - **Languages**: English
 
25
  - **Training Data**: The model was fine-tuned on a custom dataset of adventure activities in various locations within Sri Lanka's Central Province.
26
 
27
  ## How to Use
@@ -41,5 +42,5 @@ from transformers import pipeline
41
  generator = pipeline('text-generation', model='yoonusajward01/triptuner')
42
 
43
  # Test the model with a prompt
44
- response = generator("[Q] Describe an adventure itinerary for Knuckles Mountain Range.", max_length=150, num_return_sequences=1)
45
  print(response[0]['generated_text'])
 
22
  - **Library**: Transformers by Hugging Face
23
  - **Use Case**: Text generation focused on adventure travel itineraries
24
  - **Languages**: English
25
+ - **Base Model**: GPT-2
26
  - **Training Data**: The model was fine-tuned on a custom dataset of adventure activities in various locations within Sri Lanka's Central Province.
27
 
28
  ## How to Use
 
42
  generator = pipeline('text-generation', model='yoonusajward01/triptuner')
43
 
44
  # Test the model with a prompt
45
+ response = generator("[Q] Describe an adventure itinerary for Knuckles Mountain Range.", max_length=150, num_return_sequences=1, truncation=True)
46
  print(response[0]['generated_text'])