question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What does the output of feature-extraction pipeline represent?

See original GitHub issue

I am using the feature-extraction pipeline:

nlp_fe = pipeline('feature-extraction')
nlp_fe('there is a book on the desk')

As an output I get a list with one element - that is a list with 9 elements - that is a list of 768 features (floats). What is the output represent? What is every element of the lists, and what is the meaning of the 768 float values? Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
allmwhcommented, May 25, 2021

The outputs between “last_hidden_state” and “feature-extraction pipeline” are same, you can try by yourself

“feature-extraction pipeline” just helps us do some jobs from tokenize words to embedding

0reactions
orko19commented, May 2, 2021

@merleyc I do not! Please share if you do 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipelines - Hugging Face
"feature-extraction" : will return a FeatureExtractionPipeline. ... Exactly the same output as before, but the content are passed # as batches to the...
Read more >
Getting sentence embedding from huggingface Feature ...
I understand how to get the features for each token (below) but how do i get the overall features for the sentence as...
Read more >
The Computer Vision Pipeline, Part 4: feature extraction
Features are the input that you feed to your machine learning model to output a prediction or classification. Suppose you want to predict ......
Read more >
Text Feature Extraction With Scikit-Learn Pipeline | by Jenny Lee
The final estimator in a Pipeline need not be a transformer (i.e., have a transform method), but can be (and is typically) a...
Read more >
6.2. Feature extraction — scikit-learn 1.2.0 documentation
This way, collisions are likely to cancel out rather than accumulate error, and the expected mean of any output feature's value is zero....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found