Skip to content

issues Search Results · repo:fhamborg/NewsMTSC language:Python

Filter by

31 results
 (58 ms)

31 results

infhamborg/NewsMTSC (press backspace or delete to remove)

Great package, and I think it offers a very easy-to-use implementation for targeted sentiment classification! I had a brief question: it took me a while to track down that I think the package fails for ...
  • vestedinterests
  • 2
  • Opened 
    on Oct 29, 2024
  • #40

Hi! Love the library! I am trying to find a way to process longer news articles/texts. I am getting TooLongTextException. I try to split it into chunks, but then I get an UnboundLocalError: cannot access ...
  • baghdasaryanani
  • 6
  • Opened 
    on Jun 19, 2024
  • #39

Hello, I have trouble to initially load the model. I use version 1.2.28. tsc = TargetSentimentClassifier() It gives me the following error: Cell In[27], line 1 ---- 1 tsc = TargetSentimentClassifier() ...
  • ttranslit
  • 1
  • Opened 
    on Jan 19, 2024
  • #38

I could not access to huggingface in China, but I already download the model to local directory. I don t know how to load model from local directory. Can you give an example? Thanks, it means a lot to ...
  • 3217333857
  • Opened 
    on Jan 14, 2024
  • #37

Trying to install NewsSentiment[cuda] via pip3 in a fresh mamba environment with Python 3.8. This yields newssentiment[cuda] 1.1.25 depends on cudatoolkit==10.1; extra == cuda with that error repeated ...
  • networks1
  • 1
  • Opened 
    on Dec 1, 2023
  • #34

Is this something I should worry about? I have no idea what checkpoint RobertaModel is being initialized from. This is issued by the version installed with pip: Some weights of the model checkpoint at ...
  • networks1
  • 3
  • Opened 
    on Nov 2, 2023
  • #33

Every call to tsc.infer_from_text generates warning: FutureWarning: The pad_to_max_lengthargument is deprecated and will be removed in a future version, usepadding=Trueorpadding= longest to pad to the ...
  • networks1
  • Opened 
    on Nov 2, 2023
  • #32

Excellent work. I was literally working on this very thing when I found this. I wrote a short example program to explicitly show one way to use this.
  • CodeAKrome
  • 4
  • Opened 
    on Jun 28, 2023
  • #30

❯ python -V Python 3.7.16 ❯ pip3 -V pip 22.3.1 from /home/kyle/anaconda3/envs/py37/lib/python3.7/site-packages/pip (python 3.7) ❯ pip3 install NewsSentiment[cuda] zsh: no matches found: NewsSentiment[cuda] ...
  • CodeAKrome
  • 1
  • Opened 
    on Jun 28, 2023
  • #29

Made conda env for python 3.9 pip3 install NewsSentiment Collecting sentencepiece==0.1.91 (from transformers 4, =3.1.0- NewsSentiment) Using cached sentencepiece-0.1.91.tar.gz (500 kB) Preparing metadata ...
  • CodeAKrome
  • 2
  • Opened 
    on Jun 28, 2023
  • #28
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub