Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| harry_potter_chatbot.Q2_K.gguf | Q2_K | 0.17GB |
| harry_potter_chatbot.IQ3_XS.gguf | IQ3_XS | 0.18GB |
| harry_potter_chatbot.IQ3_S.gguf | IQ3_S | 0.19GB |
| harry_potter_chatbot.Q3_K_S.gguf | Q3_K_S | 0.19GB |
| harry_potter_chatbot.IQ3_M.gguf | IQ3_M | 0.2GB |
| harry_potter_chatbot.Q3_K.gguf | Q3_K | 0.21GB |
| harry_potter_chatbot.Q3_K_M.gguf | Q3_K_M | 0.21GB |
| harry_potter_chatbot.Q3_K_L.gguf | Q3_K_L | 0.23GB |
| harry_potter_chatbot.IQ4_XS.gguf | IQ4_XS | 0.22GB |
| harry_potter_chatbot.Q4_0.gguf | Q4_0 | 0.23GB |
| harry_potter_chatbot.IQ4_NL.gguf | IQ4_NL | 0.23GB |
| harry_potter_chatbot.Q4_K_S.gguf | Q4_K_S | 0.23GB |
| harry_potter_chatbot.Q4_K.gguf | Q4_K | 0.25GB |
| harry_potter_chatbot.Q4_K_M.gguf | Q4_K_M | 0.25GB |
| harry_potter_chatbot.Q4_1.gguf | Q4_1 | 0.25GB |
| harry_potter_chatbot.Q5_0.gguf | Q5_0 | 0.27GB |
| harry_potter_chatbot.Q5_K_S.gguf | Q5_K_S | 0.27GB |
| harry_potter_chatbot.Q5_K.gguf | Q5_K | 0.29GB |
| harry_potter_chatbot.Q5_K_M.gguf | Q5_K_M | 0.29GB |
| harry_potter_chatbot.Q5_1.gguf | Q5_1 | 0.29GB |
| harry_potter_chatbot.Q6_K.gguf | Q6_K | 0.32GB |
| harry_potter_chatbot.Q8_0.gguf | Q8_0 | 0.41GB |
harry_potter_chatbot is based on the DialoGPT-medium model, a powerful GPT-based architecture designed for generating conversational responses. It has been fine-tuned on a dataset of Harry Potter's dialogues from movie transcripts.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3tokenizer = AutoTokenizer.from_pretrained("diabolic6045/harry_potter_chatbot")
4model = AutoModelForCausalLM.from_pretrained("diabolic6045/harry_potter_chatbot")
5
6input_text = "What's your favorite spell?"
7input_tokens = tokenizer.encode(input_text, return_tensors='pt')
8output_tokens = model.generate(input_tokens, max_length=50, num_return_sequences=1)
9output_text = tokenizer.decode(output_tokens[0], skip_special_tokens=True)
10
11print(output_text)DialoGPT-medium model by Microsoft. Special thanks to the Hugging Face team and Microsoft for their contributions to the NLP community.