Instructions to use google/flan-t5-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/flan-t5-xl with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-xl") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-xl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
understanding about LLM
#14
by Iamexperimenting - opened
Hi, I have few general questions to clarify with you.
- currently, I'm use my data(20 files) to create embedding from HuggingFaceEmbeddings. Even if I have 2 millions files do I need to follow the same steps like 1.create embedding from HuggingFaceEmbeddings, 2. do similarity test, and 3. pass it to model?
- At what stage I need to retrain the LLM?
- is it possible to retrain the LLM with my own data? or is there a concept "retraining" in LLM?
- currently, I'm using chromadb as vector db, In case if I want to move it production how do I host it? where do I store all my data(embeddings)?
- do I need to store all embedding in any database, if yes, could you please recommend any?
- how do I evaluated "google/flan-t5-xl" LLM with my data?
- currently, I noticed "google/flan-t5-xl" model with my data gives one wrong answer. so, how do I correct the model? if it is other model like text classification I would correct the label and retrain the model with corrected label. how do I do it here?
- how to do I get same answer whenever I run the model? like reproducibility having torch.manual_seed(0), should I mention this to get reproducibility?