Benhao Tang's picture

Benhao Tang PRO

benhaotang

AI & ML interests

Physics Master student in theoretical particle physics at UniversitΓ€t Heidelberg, actively looking into the possibilities of integrating AI into future physics research.

Recent Activity

liked a Space 3 days ago
blanchon/HiDream-ai-full
updated a model 5 days ago
benhaotang/llama3.2-1B-physics-finetuned
liked a model 9 days ago
rasbt/llama-3.2-from-scratch
View all activity

Organizations

None yet

benhaotang's activity

reacted to Reality123b's post with πŸ‘ 9 days ago
view post
Post
2122
ok, there must be a problem. HF charged me 0.12$ for 3 inference requests to text models
Β·
replied to Reality123b's post 9 days ago
view reply

look at someone being charged $300 here: https://old.reddit.com/r/huggingface/comments/1jkyj2a/huggingface_just_billed_me_300_on_top_of_the_9/
I am not saying that he used almost 400k request is not crazy, but before the price change it should be covered in 20k*30 per month, ig the OP has no idea about the price change and carried on his usage.
For my own experience I think many HF-inference API text model are at least 10x the price since last week, e.g. command-r-plus is even more expensive than using from cohere now
To run my own number, I only use text models, Feb I did 210 requests for 0.26, Mar I did 60 for 0.26 and then after price increase another 20 for 0.14... almost 0.01 per request now, mind you most of my request is below 1k tokens

reacted to Keltezaa's post with πŸ”₯ 13 days ago
view post
Post
2273
Dear HF Staff and pro Users.

Why did you remove the "Regen" feature from the ZeroGPU feature?
Is this an error or intended?

I am now limited to 13 images per 24 hrs. Using my space.
When I upgraded to Pro, it was exclusively for the 5x more usage and the faster regen.

The reason I spend my hard earned money on your site was for this feature.
This is totally unacceptable.

########
Other Pro Users please reply and tag others
IF YOU AGREE or DISAGREE.
########
@Always-cheating ,@anonymous111110987654321 ,@Arshili @bedspirit @blackedguy @John6666 ,@DavidBaloches @E-07 ,@f-14 @mindfulpeoples @multimodalart
Β·
replied to julien-c's post 16 days ago
reacted to albertvillanova's post with πŸ‘ about 1 month ago
view post
Post
3867
πŸš€ New smolagents update: Safer Local Python Execution! 🦾🐍

With the latest release, we've added security checks to the local Python interpreter: every evaluation is now analyzed for dangerous builtins, modules, and functions. πŸ”’

Here's why this matters & what you need to know! πŸ§΅πŸ‘‡

1️⃣ Why is local execution risky? ⚠️
AI agents that run arbitrary Python code can unintentionally (or maliciously) access system files, run unsafe commands, or exfiltrate data.

2️⃣ New Safety Layer in smolagents πŸ›‘οΈ
We now inspect every return value during execution:
βœ… Allowed: Safe built-in types (e.g., numbers, strings, lists)
β›” Blocked: Dangerous functions/modules (e.g., os.system, subprocess, exec, shutil)

3️⃣ Immediate Benefits πŸ’‘
- Prevent agents from accessing unsafe builtins
- Block unauthorized file or network access
- Reduce accidental security vulnerabilities

4️⃣ Security Disclaimer ⚠️
🚨 Despite these improvements, local Python execution is NEVER 100% safe. 🚨
If you need true isolation, use a remote sandboxed executor like Docker or E2B.

5️⃣ The Best Practice: Use Sandboxed Execution πŸ”
For production-grade AI agents, we strongly recommend running code in a Docker or E2B sandbox to ensure complete isolation.

6️⃣ Upgrade Now & Stay Safe! πŸš€
Check out the latest smolagents release and start building safer AI agents today.

πŸ”— https://github.com/huggingface/smolagents

What security measures do you take when running AI-generated code? Let’s discuss! πŸ‘‡

#AI #smolagents #Python #Security
  • 2 replies
Β·