Instructions to use Leddycia/STD-MedGuide with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Leddycia/STD-MedGuide with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Leddycia/STD-MedGuide") model = AutoModelForSeq2SeqLM.from_pretrained("Leddycia/STD-MedGuide", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| import gradio as gr | |
| def predict_answer(question): | |
| return f'You asked: {question}' | |
| iface = gr.Interface(fn=predict_answer, inputs='text', outputs='text') | |
| iface.launch() |