Questions tagged [huggingface]
The huggingface tag has no usage guidance.
11 questions
0
votes
0
answers
24
views
Formatting a numbered list into a cohesive prose paragraph using Hugging Face Inference API
I am playing with Hugging Face Inference API and I am trying to convert a numbered list into a cohesive prose paragraph. I have tried multiple models but I am not able to get things working.
I have ...
0
votes
0
answers
7
views
Quick way to extract a shopping list from audio
I want to write code to extract a list of parts from an audio file. I'm not sure how to proceed, and I would like to hear if people have any suggestions.
The audio file contains a voice saying e.g. &...
5
votes
2
answers
270
views
Are the model implementations in Hugging Face’s transformers library created by the original model authors or by Hugging Face?
I've been exploring the implementation of models like Llama in Hugging Face’s transformers library, for example:
Hugging Face's Llama model implementation.
I’m ...
0
votes
0
answers
37
views
SpeechT5 Huggingface voice conversion: how to process whole input
I have followed the voice conversion example in the Huggingface blog post, and can replicate that example in a Colab session. As mentioned in the blog, the voice conversion stops consistently in the ...
1
vote
0
answers
138
views
Understanding the embeddings model (dunzhang/stella_en_400M_v5) by Alibaba. The details about the retrieve task and the s2s task
The model I am talking about is hosted here:
From the documentation:
We simplify usage of prompts, providing two prompts for most general tasks, one is for s2p, another one is for s2s.Prompt of s2p ...
0
votes
0
answers
57
views
How to use llama-cpp-python to manually pick the next tokens?
When I use llama-cli, I ask models questions and they generate tokens. I see the tokens appear as they model generates them. The model randomly selects the tokens based on the random seed.
But what I ...
0
votes
0
answers
23
views
Summary Generation
I want to create a summary from a list of some bullet points and keywords . Most NLP and Transformer based models are not very well suited for short sentences and bullet point.
Bullet points are ...
1
vote
2
answers
139
views
Is it possible to use LLMs by manually picking the tokens?
Suppose that we give a prompt to an LLM model, such as "what is a banana?", the LLM would start writing spitting tokens out, out of a space of tokens, until it manages to complete a textual ...
0
votes
1
answer
421
views
Train my own LLM on a smaller corpus of text?
Would it be possible to train my own LLM on a smaller corpus of text, lets say some coding documentation that I then want to ask questions about using the model?
If so, are there any recommended ways ...
0
votes
1
answer
948
views
0
votes
1
answer
53
views
My small BERT can't even overfit on a sentiment analysis task
I'm trying to train (from scratch) a miniature BERT model on SST2, a simple binary sentiment analysis task with inputs of maybe 5-20 words at a time. As you can see in my code, my approach is a little ...