477 questions
2 votes
2 answers
297 views
Can't install Python fasttext on Windows 11 – string_view not found despite Visual Studio 2022 and C++17
I'm hitting a wall trying to install the Python package fasttext on Windows 11, and I'm getting C++ build errors despite setting everything up correctly (or so I thought). Here's the full context of ...
0 votes
0 answers
51 views
Why won't vectors derived from the pre-trained fasttext Japanese wiki model align properly with English vectors?
I'm trying to align English word vectors taken from the word2vec model trained on Google news with Japanese language word vectors taken from two different models: the fasttext model pre-trained on ...
1 vote
0 answers
226 views
Accessing FastText Library Directly from PHP Without Using Python
I want to access and use the FastText library directly from my PHP code without using Python or creating a web service (e.g., using Flask) to wrap the FastText functionality and call it from PHP. Is ...
1 vote
0 answers
709 views
Error in installing fast text-Could not build wheels for fasttext, which is required to install pyproject.toml-based projects
I was trying to install fast test using pip install fasttext But this gives me error like this. note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed ...
1 vote
1 answer
160 views
Fasttext pre-trained model is not producing OOV word vectors when using gensim downloader
I am having A LOT of trouble when trying to use all the fasttext libraries (in Jupyter with Anaconda3 on Windows 11) that I have found so far but this question is mainly about gensim's implementation. ...
-2 votes
1 answer
72 views
How to Find accuracy of FastText model in text classification?
in machine learning, all models have the equation of accuracy while in the FastText model, we don't have please support.
1 vote
1 answer
182 views
FastText language_identification in R returns too many arguments - how to match to texts?
FastText language_identification returns multiple predictions per original text, and also fails to indicate which belong to which original document. There are differing numbers of predictions per ...
0 votes
1 answer
81 views
cannot load fine tuned fasttext wiki model after retraining and saving
I am fine tuning a fastest wiki model as follows. This works fine. After fine tuning I save the retrained model. from gensim.models import fasttext model = fasttext.load_facebook_model(datapath("...
1 vote
1 answer
999 views
How to workaround an installation issue on installing the fastText library on Windows?
I am new to this field and experimenting different models in NLP domain. While am trying to install the fastText libary using the command prompt, it is showing an error: pip install wheel pip install ...
0 votes
1 answer
631 views
fasttext Installation in anaconda
I'm using Anaconda3-2024.02-1-Windows-x86_64 (yes, Windows 64) on windows 11, with python 3.11.7. I was trying to build an offline translator and i forgot what led to what... Eventually i was trying ...
0 votes
1 answer
35 views
How to separate items in dataset in python?
I scraped reviews from a web and there are pros and cons separate from each other. I scraped them as a list because it looks like as the best solution for not having the same review with user, date ...
-1 votes
1 answer
455 views
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'fasttext' or one of its dependencies
I want to use the FastText.NetWrapper library in my project. I imported the library and wrote the sample code, but after running it, I get the following error: Unhandled exception. System....
-1 votes
1 answer
167 views
Pre-training or using the existing model of FastText?
I am planning to create a classification model. Instead of using traditional models, I decided to use a new technique of creating word embeddings, clustering them using k-means, then use the mean of ...
0 votes
1 answer
137 views
Can fasttext classify on character level?
I am using fasttext model to predict labels for text. Usually fasttext can classify text on word level such as: model = fasttext.train_supervised(input="training_fasttextFormat.csv", lr=0.1, ...
1 vote
2 answers
3k views
ModuleNotFoundError: No module named 'pybind11'
I tried to install fasttext by the following command: python -m pip install -U fasttext but it didn't work well. I faced the error below: Collecting fasttext Using cached fasttext-0.9.2.tar.gz (68 ...