Downloads · 30 days
17
47% of all-time downloads
Delta0723/techmind-pro-v9-merged
techmind-pro-v9-merged is a machine learning model from Delta0723. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
🚀 Asistente IA especializado en Redes Cisco y Packet Tracer
Downloads · 30 days
17
47% of all-time downloads
All-time downloads
36
Public
Parameters
7.2B
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
🚀 Asistente IA especializado en Redes Cisco y Packet Tracer
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# Cargar modelo base
base_model = "mistralai/Mistral-7B-Instruct-v0.3"
tokenizer = AutoTokenizer.from_pretrained(base_model)
model = AutoModelForCausalLM.from_pretrained(
base_model,
load_in_8bit=True,
device_map="auto"
)
# Cargar LoRA
model = PeftModel.from_pretrained(model, "Delta0723/techmind-pro-v9")
# Inferencia
prompt = "<s>[INST] ¿Cómo configuro IP 192.168.1.1 en GigabitEthernet0/0? [/INST]"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=500)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
MIT License - Uso libre
Creado por Delta0723