Downloads · 30 days
19
5% of all-time downloads
yoonusajward01/triptuner
triptuner is a text generation model from yoonusajward01. Use it when you need the model to write or continue text. It is set up for transformers.
TripTuner is a custom-trained GPT-2 model designed to generate personalized adventure travel itineraries specifically for locations within the Central Province of Sri Lanka. The model is fine-tuned to provide detailed…
Downloads · 30 days
19
5% of all-time downloads
All-time downloads
361
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
TripTuner is a custom-trained GPT-2 model designed to generate personalized adventure travel itineraries specifically for locations within the Central Province of Sri Lanka. The model is fine-tuned to provide detailed descriptions of adventure activities such as trekking, hiking, camping, and exploring scenic views, making it ideal for travel enthusiasts and tour planners.
You can use this model directly with the Hugging Face Inference API or load it into your Python environment using the Transformers library.
You can test the model directly via the Hugging Face platform by clicking on the "Inference API" tab.
from transformers import pipeline
# Load the text generation pipeline using the uploaded model from Hugging Face
generator = pipeline('text-generation', model='yoonusajward01/triptuner')
# Test the model with a prompt
response = generator("[Q] Describe an adventure itinerary for Knuckles Mountain Range.", max_length=150, num_return_sequences=1, truncation=True)
print(response[0]['generated_text'])