Downloads · 30 days
8
22% of all-time downloads
bala00712200502/A6B7B
A6B7B is a machine learning model from bala00712200502. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Model Type: Code Generation - Base Model: deepseek-ai/deepseek-coder-1.3b-base - Language: English - Developer: Balakarthikeyan - Organization: A6B
Downloads · 30 days
8
22% of all-time downloads
All-time downloads
37
Public
Repo size
18 MB
Likes
0
Public
Click a slice to open those files.
.safetensors18 MB · 71%
From the Hugging Face model README
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load model and tokenizer
model = AutoModelForCausalLM.from_pretrained("bala00712200502/A6B7B")
tokenizer = AutoTokenizer.from_pretrained("bala00712200502/A6B7B")
# Example usage
def generate_response(prompt):
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
inputs["input_ids"],
max_length=512,
temperature=0.7,
top_p=0.95,
do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
return response
# Example usage
response = generate_response("Hello, how can I help you?")
print(response)
This model is for research purposes only.
Created by Balakarthikeyan at A6B