Downloads · 30 days
0
jinv2/ai-job-navigator-model
ai-job-navigator-model is a machine learning model from jinv2. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a fine-tuned distilgpt2 model using LoRA, trained on a small dataset to provide career advice for the AI industry in 2025.
Downloads · 30 days
0
Access
Public
Updated Apr 1, 2025
Repo size
12.1 MB
Likes
0
Public
Click a slice to open those files.
.json4.4 MB · 38%
From the Hugging Face model README
This is a fine-tuned distilgpt2 model using LoRA, trained on a small dataset to provide career advice for the AI industry in 2025.
You can load and use the model as follows:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("distilgpt2")
tokenizer = AutoTokenizer.from_pretrained("jinv2/ai-job-navigator-model")
model = PeftModel.from_pretrained(base_model, "jinv2/ai-job-navigator-model")
prompt = "根据最新的AI行业趋势,提供2025年的职业建议:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200, do_sample=True, temperature=0.7, top_k=50, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))