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="altomek/Coding-34B-U6")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("altomek/Coding-34B-U6")
model = AutoModelForCausalLM.from_pretrained("altomek/Coding-34B-U6")
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
intro music...

Coding-34B-U6-2

Today models are trained on code so much. Have to check how some old ones fare with some assistant bits added ;P

Models Merged

The following models were included in the merge:

  • Samantha-1.11-CodeLlama-34b
  • WizardLM-1.0-Uncensored-CodeLlama-34b
  • CodeBooga-34B-v0.1
  • CodeLlama-34b-Instruct-hf-abliterated (as base)

Configuration

The following YAML configuration was used to produce this model:

name: Coding-34B-U6-2
models:
  - model: CodeLlama-34b-Instruct-hf-abliterated
  - model: Samantha-1.11-CodeLlama-34b
  - model: WizardLM-1.0-Uncensored-CodeLlama-34b
  - model: CodeBooga-34B-v0.1
base_model: CodeLlama-34b-Instruct-hf-abliterated
merge_method: model_stock
dtype: float16
Downloads last month
9
Safetensors
Model size
34B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for altomek/Coding-34B-U6

Collection including altomek/Coding-34B-U6