Run this model with HF Jobs

Run braindao/iq-code-evmind-v2-llama3-code-8b-instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/braindao/iq-code-evmind-v2-llama3-code-8b-instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/braindao/iq-code-evmind-v2-llama3-code-8b-instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/braindao/iq-code-evmind-v2-llama3-code-8b-instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/braindao/iq-code-evmind-v2-llama3-code-8b-instruct. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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="braindao/iq-code-evmind-v2-llama3-code-8b-instruct")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("braindao/iq-code-evmind-v2-llama3-code-8b-instruct")
model = AutoModelForCausalLM.from_pretrained("braindao/iq-code-evmind-v2-llama3-code-8b-instruct", 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=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

This model is a finely-tuned version specifically designed to generate and resolve queries related to the Solidity programming language. This model has been developed from the robust foundation provided by ajibawa-2023/Code-Llama-3-8B and has undergone specialized fine-tuning to optimize its performance in tasks associated with Solidity, the primary language used for developing smart contracts on the Ethereum blockchain.

Key Features:

Solidity Code Generation: The model can generate Solidity code snippets, offering quick and accurate solutions for various development needs. Query Resolution: It answers technical and conceptual questions about Solidity, covering basic concepts to advanced topics, facilitating learning and problem-solving. Customized Optimization: The fine-tuning ensures the model is optimized to handle specific contexts and nuances of Solidity, providing more relevant and detailed responses. Applications:

Smart Contract Development: Assists developers in creating, optimizing, and debugging smart contracts in Solidity. Education and Training: Serves as an educational tool for those looking to learn Solidity, providing clear explanations and practical examples. Technical Assistance: Acts as a virtual technical assistant, answering queries and providing solutions to complex issues in smart contract development. Base Model:

This model is based on ajibawa-2023/Code-Llama-3-8B, known for its advanced code generation capabilities and deep understanding of programming languages.

How to Use:

You can integrate this model into your projects via the Hugging Face platform, utilizing the provided APIs and tools to facilitate its implementation and use in various applications.

Example Usage:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "your-username/iq-code-evmind-v1-code-llama3-8b-instruct-pro"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

input_text = "How can I define a basic contract structure in Solidity?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

With iq-code-evmind-v1-code-llama3-8b-instruct-pro, you will have a powerful and specialized tool to handle everything related to Solidity development, from code generation to technical query resolution.

Downloads last month
22
Safetensors
Model size
8B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for braindao/iq-code-evmind-v2-llama3-code-8b-instruct

Quantizations
2 models

Dataset used to train braindao/iq-code-evmind-v2-llama3-code-8b-instruct