Downloads · 30 days
0
joijwoafeij/llm-jp-3-13b-it-docker_lora
llm-jp-3-13b-it-docker_lora is a machine learning model from joijwoafeij. 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 transformers.
The model can be used directly for generating responses to user-provided instructions. Example tasks include: - Answering questions in Japanese. - Generating Japanese text based on prompts. - Following instructions to…
Downloads · 30 days
0
Access
Public
Updated Dec 6, 2024
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.safetensors501 MB · 99%
From the Hugging Face model README
The model can be used directly for generating responses to user-provided instructions. Example tasks include:
This model can be further fine-tuned on task-specific datasets. For example:
The model may not perform well on:
The model might reflect biases present in its training data. It may produce:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("joijwoafeij/llm-jp-3-13b-it-docker_lora")
model = AutoModelForCausalLM.from_pretrained("joijwoafeij/llm-jp-3-13b-it-docker_lora")
prompt = "### 指示\n日本の有名な詩人について教えてください\n### 回答\n"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))