Setu Shah
Setu Shah
@icoxfog417 : #674 can be resolved by my open PR #675.
Thanks for this, @finswimmer! I noticed one thing that it doesn't explicitly tests for / address is using Personal Access Tokens (https://github.com/python-poetry/poetry/issues/2348). It might work, but would be nice to...
Bumping this up again, @finswimmer, to ask if there's any specific areas I can help building / supporting that can help speed this up? Thanks for all your work!
@finswimmer : I took a stab at the remainder items here that'd help in resolving https://github.com/python-poetry/poetry/issues/2062 and https://github.com/python-poetry/poetry/issues/2348, and based it off of the branch for this PR. https://github.com/finswimmer/core/pull/1
Sorry, not familiar with PySpark, so I could be completely off. The error is saying it can't find the torchMoji module. Maybe it is not installed correctly? Also, assuming the...
@n0obcoder : It should be possible by using the attention vector that the model can return. Use the `return_attention=True` flag when [loading the model](https://github.com/huggingface/torchMoji/blob/198f7d4e0711a7d3cd01968812af0121c54477f8/examples/score_texts_emojis.py#L44). Example: `model = torchmoji_emojis(PRETRAINED_PATH, return_attention=True)`
@vidyap-xgboost : Not sure why that would be caused. I could run that and get the attention vector. Do you mind sharing a more detailed code sample or Colab, and...
@vidyap-xgboost: I see the problem. Once you add `return_attention=True` on line [44](https://github.com/huggingface/torchMoji/blob/198f7d4e0711a7d3cd01968812af0121c54477f8/examples/score_texts_emojis.py#L44), when the model runs through the forward pass on line 48, it is returning a tuple of `(probabilities,...
@vidyap-xgboost : If you want to continue using `score_texts_emojis.py`, on line 48, replace `prob = model(tokenized)` with `prob, attention_weights = model(tokenized)` after adding the `return_attention=True` attribute to the model setup...
@vidyap-xgboost : It depends on how you want to use it after exporting to CSV, what you want to store in the CSV, etc. Try looking at the Python documentation...