Downloads · 30 days
14
20% of all-time downloads
JIA244601/daodekengAItourism
daodekengAItourism is a machine learning model from JIA244601. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
🤖 模型简介 基于 Google Colab 微调的轻量化模型,专精于北京市怀柔区道德坑村红色文化和革命历史讲解,适用于作为大型任务的中间件或领域知识问答工具。
Downloads · 30 days
14
20% of all-time downloads
All-time downloads
69
Public
Repo size
8.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf8.5 GB · 100%
From the Hugging Face model README
🤖 模型简介
基于 Google Colab 微调的轻量化模型,专精于北京市怀柔区道德坑村红色文化和革命历史讲解,适用于作为大型任务的中间件或领域知识问答工具。
🚀 特性
💻 快速使用
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("JIA244601/daodekengAItourism")
tokenizer = AutoTokenizer.from_pretrained("JIA244601/daodekengAItourism")
input_text = "讲解一下道德坑村1946年的历史"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0]))