How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="PotatoOff/HamSter-0.2")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("PotatoOff/HamSter-0.2")
model = AutoModelForCausalLM.from_pretrained("PotatoOff/HamSter-0.2", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links
Image

HamSter 0.2

πŸ‘‹ Uncensored fine tune model roleplay focused of "mistralai/Mistral-7B-v0.2" with the help of my team ConvexAI.

πŸš€ For optimal performance, I recommend using a detailed character card! (There is NSFW chub.ai) Check out Chub.ai for some character cards.

🀩 Uses the Llama2 prompt template with chat instructions.

πŸ”₯ Fine-tuned with a newer dataset for even better results.

πŸ˜„ Next one will be more interesting!

Roleplay Test

I had good results with these parameters:

    > temperature: 0.8 <

    > top_p: 0.75

    > min_p: 0

    > top_k: 0

    > repetition_penalty: 1.05

BenchMarks on OpenLLM Leaderboard

OPEN LLM BENCHMARK

More details: HamSter-0.2 OpenLLM BenchMarks

BenchMarks on Ayumi's LLM Role Play & ERP Ranking

Ayumi's LLM Role Play & ERP Ranking

More details: Ayumi's LLM RolePlay & ERP Rankin HamSter-0.2 GGUF version Q6_K

Have Fun

πŸ’–

Downloads last month
51
Safetensors
Model size
7B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for PotatoOff/HamSter-0.2

Quantizations
3 models

Spaces using PotatoOff/HamSter-0.2 9

Collection including PotatoOff/HamSter-0.2