Questions tagged [python]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

How to populate labels for dataset preprocessing before LLM fine tuning?

I am using vicgalle/alpaca-gpt4 dataset to fine tune a LLM. I am trying to figure out how to tokenize the dataset's output column into labels within a dataset preprocessor. Please see the below ...
Intrastellar Explorer's user avatar
0 votes
0 answers

how to load distcp checkpoint files?

I have fintuned full aparmeters of mistral 7-b model, and i have used FDSP in HF accelerate I have a checkpoint which is place in a folder pytorch_model_0, which contains multiple distcp files. how ...
Mustafa Alahmid's user avatar
1 vote
1 answer

Comprehensive Guide for Finetuning

To learn about finetuning llms, I have read a number of online tutorials. I am about to teach a short course in this area, and looking for a book / paper / survey that discusses examples of different ...
Karl 17302's user avatar
2 votes
2 answers

Embeddings: How can I find out, that I'm out-of-vocabulary?

I have a german dataset of financial/annual reports of companies. For example, I use the gensim package to embed my dataset with word2vec or use the huggingface package to embed. How can I find out, ...
Christian01's user avatar
1 vote
1 answer

How can I get chatgpt to keep track of all the words in the list that I am providing?

I am trying to ask ChatGPT (gpt-3.5-turbo) using code to compare a text and a list of keywords and evaluate how well the keywords describe the text. However, ChatGPT seems confused about the list of ...
Akavall's user avatar
  • 111
22 votes
5 answers

Why do code answers tend to be given in Python when no language is specified in the prompt?

This is anecdotal, but in my use of ChatGPT (site and API) and Bard, in cases when I ask a generic coding question that does not specify the language, the answer is often provided in Python. Is this ...
Yaakov Ellis's user avatar