Question Answering
Transformers
Safetensors
English
gpt2
text-generation
conversational
anwgpt
anw
text-generation-inference
Instructions to use SubhrajitSain/anwgpt3-355m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SubhrajitSain/anwgpt3-355m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="SubhrajitSain/anwgpt3-355m") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SubhrajitSain/anwgpt3-355m") model = AutoModelForCausalLM.from_pretrained("SubhrajitSain/anwgpt3-355m", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
Simplify model card tags and clarify model type
#1
by FlameF0X - opened
Changes:
Removed unnecessary tags
english,chat,chatbot,355m,gpt,gpt2,gpt2-mediumwere removed.- Reason: Some of these tags (e.g.,
gpt2) are automatically inferred fromconfig.jsonbecause it contains"model_type": "gpt2", and others are redundant or overly generic.
Added/kept relevant tags
conversational-> indicates this model is a chatbot and supports conversational tasks.anwgpt,anw-> retained for brand/model recognition.
Updated model type
- Changed from
chatbot/conversationaltotext generator / question answering - Reason: better reflects the model’s capabilities, especially for tasks beyond just chat.
- Changed from
Rationale
- Reduces clutter in the model card.
- Improves discoverability by focusing on functional and distinctive tags.
- Aligns model description with intended usage scenarios.
SubhrajitSain changed pull request status to closed
SubhrajitSain changed pull request status to open
fuck sorry
Okay, I have seen your changes carefully. I am merging your PR.
SubhrajitSain changed pull request status to merged

