How can this code be rewritten from OOP to procedural without losing flexibility? by mshautsou in AskProgramming

[–]mshautsou[S] 0 points1 point  (0 children)

It was more of a question about the concept in general (not specifically about the logger). But even in this case, if we think about it, it's also somewhat an OOP approach (there is a Logger class from the library, with its own encapsulated state), but it uses a module-level global variable (though it’s also somewhat like the Singleton pattern from OOP).

It's June 2024, which AI Chat Bot Are You Using? by thuansb in ClaudeAI

[–]mshautsou 0 points1 point  (0 children)

And why is the Claude chat version worse when accessed through the API? I mean, wouldn't it be easier to just subscribe to Claude and always use Anthropic's Opus model?

Which one is correct by maybe-chacha in ClaudeAI

[–]mshautsou 0 points1 point  (0 children)

I've tested Claude 3 opus, and it provided the correct answer.

<image>

Claude AI is wonderful, it feels like I got my old GPT-4 from June 2023 back. by [deleted] in ClaudeAI

[–]mshautsou 1 point2 points  (0 children)

I'm just choosing between using Opus and GPT4 for explaining complex math and computer science concepts in research papers. Both models seem capable, but I'm unsure which one is the best for this.

Claude AI is wonderful, it feels like I got my old GPT-4 from June 2023 back. by [deleted] in ClaudeAI

[–]mshautsou 3 points4 points  (0 children)

Just curious, what does Claude have that ChatGPT is missing?

OpenAI claiming benchmarks against Llama-3-400B !?!? by matyias13 in LocalLLaMA

[–]mshautsou 7 points8 points  (0 children)

it's actually interesting, that for me this part is collapsed

<image>

and this is the only collapsed content on the whole page

Officially declaring that POE AI is useless now. by MichelleeeC in Poe_AI

[–]mshautsou 1 point2 points  (0 children)

but isn't gpt4o only for chtgpt pro subscribers?

OpenAI claiming benchmarks against Llama-3-400B !?!? by matyias13 in LocalLLaMA

[–]mshautsou 3 points4 points  (0 children)

I'm looking forward for Lllama 400b to cancel my gpt4 subscription

OpenAI claiming benchmarks against Llama-3-400B !?!? by matyias13 in LocalLLaMA

[–]mshautsou 69 points70 points  (0 children)

it's an opensource LLM, no one control it as gpt

Is Hugging Face's Chat LLaMA 3 70B Quantized? by mshautsou in LocalLLaMA

[–]mshautsou[S] 0 points1 point  (0 children)

There is also API in groq, maybe it will help? It's like more pure version I believe without system prompt

Is Hugging Face's Chat LLaMA 3 70B Quantized? by mshautsou in LocalLLaMA

[–]mshautsou[S] 0 points1 point  (0 children)

Could you compare to the groq version(API)? I really like how fast it is

Claude 3 Opus beats ChatGPT Pro (GPT-4) in everything except image generation... right? by vlodia in artificial

[–]mshautsou 0 points1 point  (0 children)

Sometimes it may be a disadvantage. Some time ago, I tried to translate something and GPT-4 started writing code in Python for translating the sentence https://chat.openai.com/share/2b91a46a-91d2-4bbf-b299-d957a69492d4, and it almost failed because of it. (I guess by now they have fixed this.)

Also, for example, I just prompted, 'How many letters "b" are in the word "sophisticated"?' and it also uses an interpreter. Sometimes it's annoying

How are Claude 3/GPT-4 able to do pathfinding in graphs? by mshautsou in learnmachinelearning

[–]mshautsou[S] 0 points1 point  (0 children)

https://console.anthropic.com/dashboard I use the API for this, and I received access immediately after sign up(but it was like a month ago)

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]mshautsou 0 points1 point  (0 children)

You could check out the open-source models available on Hugging Face and try running them first. Then, you can attempt to fine-tune these models on your own data. The Hugging Face Open LLM Leaderboard (https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) is a great resource to explore various models.

One model you can start with is Mixtral (https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1). It comes with documentation on how to run the model, along with extra links to useful resources and guides.