oof
Browse files
README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- distilbert/distilgpt2
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Model Card for LockinGPT
|
| 10 |
+
|
| 11 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 12 |
+
|
| 13 |
+
LockinGPT is a fine-tuned language model based on `distilgpt2`, optimized for generating conversational questions and creative prompts related to blockchain topics, especially focusing on Solana-based ecosystems.
|
| 14 |
+
|
| 15 |
+
## Model Details
|
| 16 |
+
|
| 17 |
+
### Model Description
|
| 18 |
+
|
| 19 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 20 |
+
|
| 21 |
+
LockinGPT is specifically fine-tuned for generating yes/no questions and other conversational content related to the Solana blockchain and $LOCKIN token ecosystem. It is designed to aid developers, investors, and enthusiasts in generating useful blockchain-related queries. The model was fine-tuned using a curated dataset of Solana-related content to ensure relevance and accuracy.
|
| 22 |
+
|
| 23 |
+
- **Developed by:** Jonathan Gan
|
| 24 |
+
- **Funded by [optional]:** Self-funded
|
| 25 |
+
- **Shared by [optional]:** Jonathan Gan
|
| 26 |
+
- **Model type:** Causal Language Model
|
| 27 |
+
- **Language(s) (NLP):** English
|
| 28 |
+
- **License:** MIT
|
| 29 |
+
- **Finetuned from model [optional]:** distilbert/distilgpt2
|
| 30 |
+
|
| 31 |
+
### Model Sources [optional]
|
| 32 |
+
|
| 33 |
+
<!-- Provide the basic links for the model. -->
|
| 34 |
+
|
| 35 |
+
- **Repository:** Private repository (contact Jonathan Gan for details)
|
| 36 |
+
- **Paper [optional]:** N/A
|
| 37 |
+
- **Demo [optional]:** N/A
|
| 38 |
+
|
| 39 |
+
## Uses
|
| 40 |
+
|
| 41 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 42 |
+
|
| 43 |
+
### Direct Use
|
| 44 |
+
|
| 45 |
+
- Generating blockchain-related questions for interactive use.
|
| 46 |
+
- Conversational tasks related to the Solana ecosystem.
|
| 47 |
+
|
| 48 |
+
### Downstream Use [optional]
|
| 49 |
+
|
| 50 |
+
- Fine-tuned for specific blockchain or crypto-related chatbot applications.
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
- Non-English conversational tasks.
|
| 55 |
+
- Topics unrelated to blockchain or cryptocurrency may produce incoherent outputs.
|
| 56 |
+
- Sensitive or adversarial applications.
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
- The model is fine-tuned on Solana-related content and may not generalize well outside this domain.
|
| 63 |
+
- It may reflect biases present in the training data (e.g., promotion of specific blockchain technologies over others).
|
| 64 |
+
|
| 65 |
+
### Recommendations
|
| 66 |
+
|
| 67 |
+
Users should verify generated content for factual accuracy, especially in contexts requiring precision (e.g., financial advice or technical implementation).
|
| 68 |
+
|
| 69 |
+
## How to Get Started with the Model
|
| 70 |
+
|
| 71 |
+
Use the code below to get started with LockinGPT:
|
| 72 |
+
|
| 73 |
+
```python
|
| 74 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 75 |
+
|
| 76 |
+
tokenizer = AutoTokenizer.from_pretrained("./lockin_model")
|
| 77 |
+
model = AutoModelForCausalLM.from_pretrained("./lockin_model")
|
| 78 |
+
|
| 79 |
+
prompt = "Generate a yes/no question about the $LOCKIN token"
|
| 80 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 81 |
+
output = model.generate(inputs["input_ids"], max_new_tokens=50, do_sample=True, top_p=0.9, temperature=1.3)
|
| 82 |
+
print(tokenizer.decode(output[0], skip_special_tokens=True))
|