Update README.md
Browse files
README.md
CHANGED
@@ -46,4 +46,35 @@ prompt = "def calculate_average(numbers):\n "
|
|
46 |
inputs = tokenizer(prompt, return_tensors="pt")
|
47 |
outputs = model.generate(**inputs, max_length=100, temperature=0.7)
|
48 |
completion = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
49 |
-
print(completion)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
inputs = tokenizer(prompt, return_tensors="pt")
|
47 |
outputs = model.generate(**inputs, max_length=100, temperature=0.7)
|
48 |
completion = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
49 |
+
print(completion)
|
50 |
+
|
51 |
+
# Limitations
|
52 |
+
|
53 |
+
- Optimized specifically for Python; performance on other languages may vary
|
54 |
+
- Best suited for short to medium-length completions
|
55 |
+
- May require significant computational resources due to model size (70B parameters)
|
56 |
+
|
57 |
+
# Ethical Considerations
|
58 |
+
|
59 |
+
- Should not be used as the sole tool for production code without human review
|
60 |
+
- May reflect biases present in the training data
|
61 |
+
- Generated code should be tested and validated before deployment
|
62 |
+
|
63 |
+
# License
|
64 |
+
|
65 |
+
This model is subject to the Meta Llama 2 Community License Agreement. By using this model, you agree to the terms of the Llama 2 license.
|
66 |
+
|
67 |
+
# Citation
|
68 |
+
|
69 |
+
If you use this model in your research or applications, please cite:
|
70 |
+
```
|
71 |
+
@misc{python-tab-completion-codellama-70b,
|
72 |
+
author = {Emissary AI},
|
73 |
+
title = {Python Tab Completion CodeLlama 70B},
|
74 |
+
year = {2024},
|
75 |
+
publisher = {Hugging Face},
|
76 |
+
howpublished = {\url{https://huggingface.co/emissary-ai/Python-Tab-Completion-CodeLlama-70b}}
|
77 |
+
}
|
78 |
+
```
|
79 |
+
# Contact
|
80 |
+
For questions or issues, please open an issue in the Community tab.
|