vluz

joined 1 year ago
[–] [email protected] 2 points 1 year ago

That's wonderful to know! Thank you again.
I'll follow your instructions, this implementation is exactly what I was looking for.

[–] [email protected] 2 points 1 year ago (2 children)

Absolutely stellar write up. Thank you!

I have a couple of questions.
Imagine I have a powerful consumer gpu card to trow at this solution, 4090ti for the sake of example.
- How many containers can share one physical card, taking into account max memory will not be exceeded?
- How does one virtual gpu look like in the container? Can I run standard stuff like PyTorch, Tensorflow, and CUDA stuff in general?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Oof, pop-culture references are hard and I had not considered that at all.
Thanks for the examples, I'll have a think on how to deal with those.

My only insight is one you already had.
Test at least the comment before, and then use the output to dampen or amplify the final result.
Sorry for being no help at all.

--

My project is very basic but I'll post it here for any insight you might get out of it.
I teach Python in a variety of settings and this is part of a class.

The data used is from Kaggle: https://www.kaggle.com/competitions/jigsaw-toxic-comment-classification-challenge/
The original data came from Wikipedia toxic comments dataset.
There is code too from several users, very helpful for some insight into the problem.

Data is dirty and needs clean up so I've done so and posted result on HF here:
https://huggingface.co/datasets/vluz/Tox

Model is a very basic TensorFlow implementation intended for teaching TF basics.
https://github.com/vluz/ToxTest
Some of the helper scripts are very wonky, need fixing before I present this in class.

Here are my weights after 30 epochs:
https://huggingface.co/vluz/toxmodel30

And here is it running on a HF space:
https://huggingface.co/spaces/vluz/Tox

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

While designing a similar classifier, I've considered the idea of giving it the whole thread as "context" of sorts.
Not just the parent comment, the whole thread up to original post.

I've abandoned the idea.
A comment must stand on it's own, and it would put limits on results, the way I was planning to do it.
I might be very wrong, your insight into this would be very helpful.

My original idea was to go recursively trough the thread and test each comment individually.
Then I would influence the actual comment results with the combined results of it's parents.
No context during inference, just one comment at a time.

For example consider thread OP->C1->C2->C3.
My current model takes milliseconds per test with little resources used.
It would be ok up to very large threads but would contain a limit to save on answer time.
I want to determine if Comment 3 is toxic in the context of C2, C1, and OP.
Test C3, test C2, test C1, test OP. Save results.
My current model gives answer in several fields ("toxic", "severe toxic", "obscene", "threat", "insult", and "identity hate")
The idea was to then combine the results of each into a final result for C3.

How to combine? Haven't figure it out but it would be results manipulation instead of inference/context, etc.

Edit: Is there any way you can point me at examples difficult to classify? It would be a nice real world test to my stuff.
Current iteration of model is very new and has not been tested in the wild.

[–] [email protected] 6 points 1 year ago

Don't trust brave, never will.

[–] [email protected] 4 points 1 year ago

Just pip install mscandy -U

[–] [email protected] 7 points 1 year ago

If at all true this would be world-changing news.

[–] [email protected] 1 points 1 year ago

It is not easy to go from healthy background levels of mercury to mild poisoning in max 700-ish meals.
Each fish in 700 meals would have to be 100x the normal average of mercury, every single one, every single time, for every single meal, consuming up to a kilogram of fish in each meal.
It wasn't fish, it's more complex.

I'm quite aware we're discussing a real human, your friend.
If it was from eating fish and I'm completely wrong, I'm sorry. Wish the person a fast recovery as best as possible.
I won't respond any further.

[–] [email protected] 1 points 1 year ago (2 children)

Erasmus is a semester up to max of one year.
It is impossible that condition came from eating normal food here, compared to a lifetime somewhere else.

Take my grand aunt with 102 years of age as an example, she would be a walking pot of mercury by now.
She ate fish all her life and due to location, way more fish than meat.

What about me at 50 years old and not even an hint of poisoning. I eat more fish than meat.
How does that work?

Here are the numbers for heavy metal poisoning for 2022, ordered by rank and Country:
https://epi.yale.edu/epi-results/2022/component/hmt

I'm very sorry for your friend and wish the best without reservation, but her condition was not from eating fish during a semester in Portugal.

[–] [email protected] 7 points 1 year ago (5 children)

I'm sorry but how is that possible? I'm here and I have eaten fish all my life, 50 years of it.
Had bloodwork done a few weeks ago that included count for heavy metals.
No sign of any kind poisoning.
The whole country should have from mild to heavy poisoning by now... And yet they don't.

How do you explain this discrepancy?
How much mercury did your friend had before coming here? How much was it acquired here?
Fish of all kinds is a staple of mediterranean common diet, there should be people dropping left and right...

view more: ‹ prev next ›