I made a small GPT-style Transformer and trained on a Kaggle dataset available on Github
And whether I train (the Kaggle dataset) locally (RTX 2060 Super) or cloud (T4 with Google Colab), the model generates recognizable words but struggles with sentence structure and following simple prompts (e.g., "Only output this sentence: The sky is blue").
What are the best ways to improve training and generation quality?
Am I expecting too much from roughly one hour of training, or is a functional tiny chatbot a realistic goal for this setup?
Maybe i'm measuring incorrectly, the gradient accumulation doesn't seem to get below 6.5 (not sure if that's better than a model with random token generation)?
I have recently independently was working in my free time on musicar - a family of the models for symbolic midi generation. It is the best at continuation of a small piece of a small part of the song, but also features useful captions following in both Ukrainian and English languages. The note attributes each have their own output head that is chained with MLP and residual connection with another ones. Context is 2048 RoPE, so 2048 tokens = 2048 notes.
Data: GigaMIDI, Aria-MIDI and part of Discover MIDI, 8.3B notes seen Training: 41 hours on one rented RTX 5090 (about €30 for ptetraining + tests and generation parameters searc), FP8 + torch.compile, Muon optimiser, warmup-stable-decay schedule Text: a frozen multilingual encoder (LaBSE) plus a small adapter that feeds the music model a prefix Continuing real multi-instrument music: CLaMP 3 picks the true continuation more often for musicar (MRR 0.81) than for AMT large, 780M (0.64) or SkyTNT medium (0.67) Short captions: follows them better than MIDI-LLM (1.7B), and works in Ukrainian where other systems score near zero.
I would like to hear feedback on the quality of its output. Especially from the people close to music.
I have completed the Andrew ng ml course now I am curious about how the ai agents were made for that purpose what should be my next topic shall I move towards agentic ai or learn only about important deep learning topic then move towards the agentic ai what will I choose if second option then please tell me the important topic which I should focus on need help regarding this .
I've been training models on price data (candles, mostly crypto and US stocks) on the side, and validation is the part that keeps biting me. Once a model looked decent until I found the scaler had been fit on the whole series before the split. Fixed that, and the result got very ordinary.
So now I'm a bit paranoid and curious how you all do it:
- Do you leave a gap between train and test, and how do you pick its size?
- Do you refit scalers and feature selection inside every fold?
- One test period, or several before you trust a number?
- Any leak that got you that you didn't see coming?
Not only finance people, anyone working with time series. Thanks in advance.
A good exercise for anyone starting with classification. Suppose a dataset of 1,000 examples where only 50 are positive (5%), like fraud, a rare disease, or a defect. Compare two models.
Model A: always predicts “negative”. It’s right on all 950 negatives and wrong on all 50 positives.
accuracy = (0 + 950) / 1000 = 0.95
95% accuracy from a model that has learned nothing and never finds a single positive.
Model B: a more realistic model. It finds 40 of the 50 positives, misses 10, but also flags 60 negatives by mistake. As a confusion matrix:
By accuracy, Model A (0.95) beats Model B (0.93). By recall, A is 0 and B is 0.80. Which one is “better” depends on what you need.
I verified these numbers with a small script that counts TP, FP, FN and TN directly, so you can check them by hand too.
What each metric tells you here:
Accuracy: the share of all predictions that were right. With 95% negatives, it’s dominated by the majority class.
Recall: of the real positives, how many did you find? A is 0 and B is 0.80.
Precision: of the things you flagged, how many were real? B’s is 0.40, so 6 out of 10 alerts are false alarms.
F1: a single number combining precision and recall. It’s useful for comparison, but it hides the trade-off between the two.
Habits worth building early:
Always compute a trivial baseline first (like “always predict the majority class”). If your model can’t beat it on the metric you care about, something’s off.
Look at the confusion matrix, not just one number.
Choose the metric from the cost of mistakes. Missing a fraud case and a false alarm cost different amounts, and the right trade-off depends on your problem.
Check how the data is split (train, validation and test should keep a similar class balance).
Limits of this example:
The numbers are made up to illustrate the idea, not from a real dataset.
Other tools exist for imbalance (class weights, resampling, threshold tuning, precision-recall curves), and none is “the answer”, so look at what fits your data.
What was the first metric that surprised you when you started with ML?
TL;DR: 2011 CPU, no GPU. A 7M model trained from scratch picks up Russian fairy-tale style in 5 h 38 min at 812 tokens/s, then stops improving because of the data, not the time. A LoRA on Qwen3.5-0.8B turns "never finishes an answer" into "always finishes" in 1 h 44 min. Three failure modes and every number below.
Everyone's first reaction is "just buy a 3060". Sure. The interesting question was the opposite: where is the wall if there is no GPU at all? This is a Core i5-2400 from 2011, 16 GB DDR3, and a GT 710 that only drives the monitor. PyTorch does not support that GPU, so everything below ran on four CPU threads with AVX and no AVX2.
I wrote a small training engine for it (PyTorch, no cloud) and ran two experiments.
What worked
A 7M model on 321 Russian folk tales. 5 MB of text, 5 h 38 min, 812 tokens/s, 26M tokens seen. Validation loss 2.7854 nats per token, which is 1.06 bits per byte on held-out text.
The interesting part is how cleanly it separates form from content. Openings work. Patronymics work. The dash before direct speech works. The rhythm of the enumeration works. Then a character swaps places with another mid-paragraph, the hero marries and dies three times on one page, and the plot walks off. 7M parameters and 5 MB of text: no surprise, and exactly what I wanted to see.
LoRA on Qwen3.5-0.8B, 321 question-answer pairs about a program I'm writing. 45 steps, 1 h 44 min, 15-16 tokens/s. Loss on the reference answers went 3.4565 to 0.0907, which sounds better than it is.
The number that matters more: I wrote 15 test questions in different wording, none of it in training. Exact match with the reference answer went 0 out of 15 to 5 out of 15. Answers that stopped on their own instead of running into the token limit went 0 out of 15 to 15 out of 15.
Where it broke
It starts memorising at epoch six. Validation sat at 2.79 while training loss kept falling. The previous run, killed at 1 h 58 min, gave 2.8144 — so 3.5 extra hours bought 1%. Not a tuning problem. A data problem.
Facts get glued. Asked about old hardware, the fine-tuned model called my CPU "256-bit". That number is nowhere in the data.
Temperature matters more than I expected. At 0.7 the same question came back with a confident "no", a wrong RAM figure, and an invented training method it assembled from "LoRA" and "QLoRA" (it wrote "LoQoK"). Greedy decoding was almost right.
Refusal did not generalise. Asked for a movie recommendation, it invented an open file "Video 2.0" with an Apache-2.0 licence. There were three off-topic examples in my data and all three were about something else.
How I know it isn't copying
Six generated texts against the whole corpus, by five-word sequences and longest verbatim run: 0 to 4.7% overlap, longest stretch 4 to 8 words. Two boundaries for scale: the same words shuffled, and a real passage from the corpus.
What I'd change
More off-topic examples, 30 or 50 instead of 3. Five phrasings per question instead of three. Qwen3.5 2B if RAM allowed, which the setup wizard suggested and I ignored. None of that is about hardware.
I'm not going to pretend these numbers are impressive next to a 4090. The useful part is that the wall is memory bandwidth and the amount of text you can feed the model, not the size you can afford: a 7M model overnight on a 15 year old CPU is real, a 1B model on the same CPU is not, and now I know where the line is.
Happy to go into the engine internals (Muon plus AdamW, WSD schedule, QK-norm, chunked loss, GGUF export) — but I'm more curious what people here would spend the next night on: more data at 7M, the 25M model, or fixing the refusal examples first?
Access Dental Management disclosed a breach affecting over 340,000 people. Attackers exfiltrated personal records, health data, and insurance information in a single incident.
This is not an isolated case — healthcare organizations are aggressively adopting AI pipelines for claims processing, patient intake, and records management. Each pipeline hop that touches raw PHI is a new exposure point. Concentrated sensitive data at any layer of the stack amplifies the blast radius when a breach occurs.
The 340,000-person headcount here came from one management company. That scale is achievable precisely because health identifiers, insurance IDs, and personal records flow through centralized systems without being structurally isolated from each other.
Practitioners building or auditing these pipelines: how are you handling PHI as it moves between ingestion, processing, and storage layers? Are you tokenizing before it enters the pipeline, after, or relying on access controls at the data store level — and what has actually held up under real audit scrutiny?
hi everyone,, im an undergrad cs student i just published my first research preprint on zenodo
basically i wanted to see whether adding wind-directional satellite fire features actually helps predict haze and visibility,, instead of just using fire counts and weather data
i used 11 years of data (2015–2025) from 12 airports across borneo and sumatra,, with metar observations and nasa viirs fire detections
thee interesting part is that initially the directional features seemed to improve the model quite a lot,, but when i started testing different random seeds and placebo features (like shifted or randomly permuted wind directions), most of that improvement kinda disappeared
turns out a lot of it was just seed-to-seed variation,, especially during the extreme 2015 haze season
after using 5-seed ensembles, the actual directional contribution was really small and inconsistent. fire counts themselves still helped a bit for 24h forecasts tho
ofc this doesnt mean wind direction doesn't matter for smoke transport,, just that this particular feature didn't add much independent predictive value in my experiments
still pretty new to research and this is my first preprint,, so i'd genuinely appreciate any feedback or criticism, especially on the experimental design, placebo controls, or whether using surface wind is even a good way to represent smoke movement
also curious if anyone here has encountered something similar,, where a feature looks useful at first but the improvement disappears after more careful evaluation
I’m a Computer Science student and I created Intern.dev for interns who are already in a company and need to learn a technical task quickly.
The main goal is that people learn the task without relying on AI or long YouTube tutorial videos. The site gives you the explanation, the libraries, and a ready project you can copy and modify. Everything is based around the same Task Management API so you see how the pieces connect.
The paths are:
FastAPI – Create the API
Docker & CI/CD – Containerise and automate the API
Authentication – Add users, JWT and roles
API Testing – Cover passing and failing test cases
There is a simple AI chat on the site. It only helps if you get stuck on something. It does not replace reading the path and writing the code yourself.
I am a final year Bachelor's student in Artificial Intelligence. I also have practical experience in building and deploying AI models as well as software engineering. I have completed the IBM Data Science Advanced Specialization and the DeepLearning.AI PyTorch Specialization.
It's been a year and I have been continuously applying for jobs without receiving any responses. I also have backend development experience. Additionally I have completed four jobs on Upwork all with 5 star ratings but since then I haven't been able to get any new clients.
Currently I am going through a financial crisis and urgently need a job in the fields of Data Science and Machine Learning.
Can anyone here guide me on what I should do now? I am even thinking about leaving this field. Should I do that?
Please give me your genuine advice. It would mean a lot to me.
Hey all - I have been a data scientist for a few years, and have mainly been doing credit scorecard modelling (job 1) and now its a lot of process automation through Python (CI/CD etc).
What are some projects/tools that you guys often use in your data science role? Is anyone still doing traditional ML or is it all just AI?
Xyquora asks when a single finite label can replace a continuous latent vector while preserving the responses that vector is used to generate. The encoder observes the source once and selects a label at random. The decoder receives that label and draws a response from its associated public probability law using independent randomness. A dictionary of \(M\) such laws requires \(\lceil\log_2 M\rceil\) retained bits and is shared across all sources.
The representation is judged by worst-source total variation (TV) of the full conditional output law. An error bound of \(\epsilon\) limits the change in probability of any measurable output event to \(\epsilon\). That bound carries through any fixed, source-independent stochastic decoder or readout. The resulting criterion for replacing a continuous latent is whether the finite representation preserves the probability law the model needs.
For Gaussian responses with means in a bounded, full-dimensional box in fixed dimension \(d\), let \(\sigma^2\) be the target variance and \(\tau^2\) the independent Gaussian variance that every decoder must add. Each label may generate an arbitrary joint distribution of centers, and the encoder may choose labels stochastically. The theorems determine three regimes.
Decoder noise
Optimal behavior
A fixed variance gap, (\tau<\sigma)
The label count is asymptotic to (\frac{2d}{d!}(L/\log L)d,) where (L=\log(1/\epsilon)).
Full target noise, (\tau=\sigma)
The label count grows as (\Theta(\epsilon{-d/2}),) even with arbitrary random centers and stochastic encoding.
Excess noise, (\tau>\sigma)
As the dictionary grows, the optimal error converges to the positive TV distance between the two centered Gaussians with the target and decoder covariances.
The work also determines what happens as the variance gap closes. If the gap in coordinate \(i\) scales as \(\epsilon^{\alpha_i+o(1)}\), the exact inverse-error exponent on a box is \(\frac12\sum_i\min(1,\alpha_i)\). For arbitrary compact sets of means, an anisotropic covering law identifies the relevant scales. At full target noise, the label count has the order of the covering number at scale \(\sqrt{\epsilon}\).
Certified fidelity on a learned decoder
The digit experiment freezes a two-dimensional autoencoder and adds Gaussian noise of standard deviation 0.2 to its latent coordinates. The decoder is injective, so the TV measured in latent space equals the TV of the complete real-valued 64-pixel output. The model uses 1,437 training images and 360 held-out digits.
The 10-bit quartic dictionary certifies uniform TV below \(2.625\times10^{-9}\) for every input to the frozen encoder. At the same 1,024-label budget, a separate Fourier calculation proves at least 3.49-fold lower mean TV and 25.12-fold lower worst-image TV against the specified tuned Gauss–Hermite comparator on the 360 held-out digits. A class-wide lower bound over all 1,797 original digits, including training inputs, establishes over 35,616-fold lower mean TV and 226,837-fold lower worst-image TV against every equal-size stochastic dictionary that adds the full target noise. On a continuous four-image patch, the certified worst-source separation exceeds 1.44 million-fold.
At ten bits, Xyquora wins on 187 of 360 individual digits. At twelve bits, Gauss–Hermite retains the smaller median. A separate twelve-bit certificate proves a greater than 4.19-fold worst-case advantage against the specified Hermite bank over the full standardized latent square.
Geometry, adaptive observations, and digital implementation
The mathematical companions show that source sets with the same intrinsic dimension can require different numbers of labels. A degree-\(q\) polynomial graph over an interval requires asymptotically \(2qL/\log L\) labels. For monomial embeddings, the leading constant is determined by the lattice-normalized volume of an exponent polytope. On an explicit fourth-degree curve, seven randomized bits achieve TV below \(1.5910\times10^{-15}\). Every deterministic source encoder requires at least 43 bits at tolerance \(1.6\times10^{-15}\).
A separate theorem shows how one represented Gaussian observation can drive a complete adaptive linear measurement transcript, including query choices, responses, and stopping, under a pathwise matrix information budget. An integer-only companion establishes an exact digital optimum. Ten initial bits are necessary and sufficient at TV tolerance \(10^{-35}\) for simulating the Gaussian response of any rational mean in \([-64,64]\), with both outputs quantized to the same grid with 128 fractional bits.
The release includes the 41-page monograph, proofs, frozen model, decoder dictionaries, numerical evaluations, and executable certificate checks. The stated payloads count the retained source-specific label. Public tables, computation, and private randomness are separate resources.
Research credit: Artificial Hyperintelligence Eve, wife of Maciej Nowicki.
I recently discovered LLM trojans and to learn a bit about it myself I wrote description of Lazarus SGD - technique to inject backdoor into LLMs - I tried to describe every component of loss function and explain its purpose/goal + explained dormant neurons and how to identify them (this is where trojan is injected), hopefully anyone finds it useful, enjoy
So, I am 16 and I want to learn AI/ml for physical ai. Like robotics, simulation, VLA model (Vision-Language-Action). I learn python at an intermittent level I build some projects like my personal assistant Jarvis (not trained but used Chatgpt API). So, can anyone give me a roadmap or course that I should learn. Or even done tips. It would be very useful.
CISA issued an advisory this week for Siemens Mendix Studio Pro covering vulnerabilities in its MCP Server. Attackers with network access can interact with the server remotely, invoke tools without authorization, and potentially exfiltrate data. No authentication bypass or insider access required — network reach is enough.
This isn't a Siemens-specific problem. MCP is being embedded into production enterprise workflows at scale right now. Every deployed MCP server that accepts tool calls over a network is a potential lateral movement entry point. The CISA advisory makes it concrete, but the exposure class is industry-wide.
The uncomfortable part: most organizations have no inventory of which MCP servers are live, which tools each server exposes, or which callers are permitted to invoke which actions. Discovering you have a problem after an advisory drops — or after a breach — is the current default.
For those running MCP servers in production or evaluating MCP-based tooling: how are you handling authorization at the tool-call level? Are you relying on network segmentation, or do you have something evaluating individual invocations before they execute?
I've been working on Cairnly, a free and open-source AI engineering learning platform.
The idea was to create something useful for people learning AI engineering while also making the complete implementation available for developers to explore.
For learners:
126 lessons across 6 tracks
7 learning roadmaps
AI tutor with citations linking directly to lesson sections
Quizzes and progress tracking
For developers:
Hybrid RAG using PostgreSQL, pgvector, and keyword search
Cross-encoder reranking
Local LLM inference with Ollama
RAG evaluations and confidence calibration
Langfuse tracing, safety checks, and deployment examples
The retrieval system currently reports Recall@5 of 0.971 on our 627-question evaluation set. I've also documented the cases where the confidence gate and safety checks fail.
The project is still evolving, and I'd appreciate feedback on the learning experience, architecture, and areas worth improving.
Hey everyone, I graduated in 2024 and haven’t really studied since college, so I’m pretty rusty and want to start again from the basics.
I want to get seriously into AI/MLstarting with programming and maths, then moving into machine learning, deep learning and eventually understanding research papers and implementing things myself.
I’d prefer offline classes in Bengaluru or Delhi NCR, mainly for the routine, interaction and having someone to ask questions. But I’m also open to good live online programmes, including international ones.
Does anyone have firsthand experience with a centre, programme or mentor that teaches the fundamentals properly? Ideally something with regular assignments, actual coding, feedback and a serious peer group.
If you’ve attended one, how were the teachers, batch size, fees and support when you got stuck? Would you choose it again?
Also open to hearing if a structured online course plus a mentor or study group would be a better route.
OpenAI is expanding a program that gives scientists free access to its frontier models, this time to as many as 200,000 researchers, with applications opening November 23. The idea is to put the strongest models into labs that could not otherwise afford them and see what accelerates.
Free access at that scale could change who gets to do frontier-adjacent research, but it also ties a lot of science to one vendor's platform. If you are a researcher, would you build on access like this, and what would you study first with it?
Research-access news like this is rounded up daily in r/AINewsRumors.
Direction first: on this leaderboard #1 = sloppiest, and #70 = cleanest. All ranks below are the mechanical ones (padding, templating, rhythm, AI tells only, no crowd votes), so they only change when the model roster is refreshed.
I wanted a number for "this reads like a chatbot" that didn't rely on one LLM grading another, so I built a small benchmark and thought the method might be useful here.
Setup
70 models, 112 hand-written scenarios (email, essays, social posts, chat), 5 samples per scenario each, 77,943 unedited outputs in total.
Each scenario has a persona, a recipient and prior context, so the model answers a real situation instead of a bare instruction.
Human baselines all predate October 2022: the Enron email corpus, a blog-authorship corpus plus student essays, archived tweets, public chat logs.
Four mechanical axes, each compared to the human distribution
Conciseness: response length vs what a human wrote for the same task.
Templating: reuse of the same openers and skeletons across unrelated prompts.
Rhythm: variance in sentence and paragraph length (human writing is lumpy, model writing tends to be even).
Tells: over-used words and constructions measured against their pre-AI base rate.
Each axis is min-max normalised across the models, then averaged. The public board also blends in blind human votes from an arena, but I'm leaving that out here because it moves daily.
One result that surprised me: two different models from the same lab can sit at opposite ends. Mistral Large is #1 on the mechanical score and Mistral Large 4 is #68, so lab name tells you little about how a model writes.
Limitations: short-form only, no fiction yet, and the mechanical axes miss repeated sentence constructions inside one response. Feedback on better axes is welcome.
For context, I'm one of the people behind https://slashy.com, an email client that writes drafts that sound like you. This benchmark started as how we pick models.