Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: other
|
| 3 |
-
license_name: llama3
|
| 4 |
-
license_link: LICENSE
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: llama3
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
datasets:
|
| 6 |
+
- braindao/smart-contracts-instructions-cleaned
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- solidity
|
| 11 |
+
- code
|
| 12 |
+
- braindao/iq-code-evmind-v1-llama3-coder-8b-instruct
|
| 13 |
+
---
|
| 14 |
+
The iq-code-evmind-v1-code-llama3-8b-instruct-pro 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.
|
| 15 |
+
|
| 16 |
+
Key Features:
|
| 17 |
+
|
| 18 |
+
Solidity Code Generation: The model can generate Solidity code snippets, offering quick and accurate solutions for various development needs.
|
| 19 |
+
Query Resolution: It answers technical and conceptual questions about Solidity, covering basic concepts to advanced topics, facilitating learning and problem-solving.
|
| 20 |
+
Customized Optimization: The fine-tuning ensures the model is optimized to handle specific contexts and nuances of Solidity, providing more relevant and detailed responses.
|
| 21 |
+
Applications:
|
| 22 |
+
|
| 23 |
+
Smart Contract Development: Assists developers in creating, optimizing, and debugging smart contracts in Solidity.
|
| 24 |
+
Education and Training: Serves as an educational tool for those looking to learn Solidity, providing clear explanations and practical examples.
|
| 25 |
+
Technical Assistance: Acts as a virtual technical assistant, answering queries and providing solutions to complex issues in smart contract development.
|
| 26 |
+
Base Model:
|
| 27 |
+
|
| 28 |
+
This model is based on ajibawa-2023/Code-Llama-3-8B, known for its advanced code generation capabilities and deep understanding of programming languages.
|
| 29 |
+
|
| 30 |
+
How to Use:
|
| 31 |
+
|
| 32 |
+
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.
|
| 33 |
+
|
| 34 |
+
Example Usage:
|
| 35 |
+
|
| 36 |
+
python
|
| 37 |
+
Copiar código
|
| 38 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 39 |
+
|
| 40 |
+
model_name = "your-username/iq-code-evmind-v1-code-llama3-8b-instruct-pro"
|
| 41 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 42 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 43 |
+
|
| 44 |
+
input_text = "How can I define a basic contract structure in Solidity?"
|
| 45 |
+
inputs = tokenizer(input_text, return_tensors="pt")
|
| 46 |
+
outputs = model.generate(**inputs)
|
| 47 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 48 |
+
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.
|