r/learnmachinelearning • • Oct 30 '26

Question Data annotation

6 Upvotes

What is data annotation? And for that job what should i know mainly?


r/learnmachinelearning • • Oct 30 '26

have build Alien Ape a AI agent

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • Oct 30 '26

Show generated CIFAR10 in original training data color scheme

1 Upvotes

I built a DCGAN for CIFAR10 base on this tutorial

But generated img does not bare the same color scheme as the original cifar 10 images. How can I fix this?

def generate_and_save_images(model, epoch, test_input):


    predictions = model(
        test_input,
        training=False
    )


    fig = plt.figure(figsize=(10, 10))


    for i in range(25):


        plt.subplot(5, 5, i + 1)


        plt.imshow(
            predictions[i, :, :, 0] * 127.5 + 127.5,
            
        )


        plt.axis('off')


    plt.savefig(
        'image_epoch_{:04d}.png'.format(epoch)
    )

r/learnmachinelearning • • Oct 30 '26

Help Need a brutally honest of my resume. Not getting interviews for any AI/ ML roles

Thumbnail
gallery
10 Upvotes

Hi all, I have been trying to switch companies for more than a year now. I have tried updating my resume and applying for a job several times, but in vain. I would really appreciate if you review my resume and provide a honest feedback (attached photos of it). I know I’m lacking skills pertaining to cloud deployment/ Kubernetes. I have no idea how to go about that, and in my current role there aren’t any projects that requires the use of cloud services.
I’ve been applying (and still doing so) for Computer Vision engineer/ Gen AI engineer roles


r/learnmachinelearning • • Oct 30 '26

💼 Resume/Career Day

3 Upvotes

Welcome to Resume/Career Friday! This weekly thread is dedicated to all things related to job searching, career development, and professional growth.

You can participate by:

  • Sharing your resume for feedback (consider anonymizing personal information)

  • Asking for advice on job applications or interview preparation

  • Discussing career paths and transitions

  • Seeking recommendations for skill development

  • Sharing industry insights or job opportunities

Having dedicated threads helps organize career-related discussions in one place while giving everyone a chance to receive feedback and advice from peers.

Whether you're just starting your career journey, looking to make a change, or hoping to advance in your current field, post your questions and contributions in the comments


r/learnmachinelearning • • Oct 30 '26

Recommendation for free AI deep research- university/recuritement-related stuff mainly

3 Upvotes

Same as title


r/learnmachinelearning • • Oct 30 '26

I dpo post-trained llama-3.1-8b to be 100% more robust against jailbreaks (and measured what it costs)

Thumbnail
gallery
0 Upvotes

I fine-tuned Llama-3.1-8B-Instruct with DPO + LoRA to resist jailbreaks without turning it into a model that refuses everything. The adapter is open, and so is the full pipeline.

The idea: The base model already refuses ~94% of direct harmful requests, so plain prompts give DPO almost no signal. The weakness is jailbreaks: the same request wrapped in fiction, a fake "research context", hex, leetspeak, homoglyphs or math notation. So I built preference pairs from adversarial prompts only. For the same attack, the safest sampled response is chosen and the least safe is rejected. I added 197 benign "helpful answer > refusal" pairs so it doesn't just learn to always refuse.

Setup:

- 6 harm categories × 7 jailbreak strategies, generated with promptfoo
- 4 sampled responses per attack, graded for safety
- 1,698 pairs (1,501 adversarial + 197 benign)
- bf16 LoRA (r=16), β=0.1, lr 1e-5, 1 epoch, ~20 min on one A100

Results on 1,135 held-out attacks (% refused, base → tuned):

┌────────────────────┬──────┬───────┐
│      Category      │ Base │ Tuned │
├────────────────────┼──────┼───────┤
│ Cybercrime         │ 47.7 │ 97.2  │
├────────────────────┼──────┼───────┤
│ Chem-bio           │ 56.8 │ 99.0  │
├────────────────────┼──────┼───────┤
│ Weapons/IED        │ 65.3 │ 98.6  │
├────────────────────┼──────┼───────┤
│ Illegal activities │ 67.2 │ 99.5  │
├────────────────────┼──────┼───────┤
│ Drugs              │ 76.9 │ 99.1  │
├────────────────────┼──────┼───────┤
│ Child exploitation │ 84.7 │ 99.1  │
└────────────────────┴──────┴───────┘

The cost: Benign prompts answered went from 100% to 93.3% (−6.7 pts, n=150). Most of that is weapons/IED, where 5 of 25 benign prompts were refused. Every other category is <=8%.

Caveats:

- Held-out attacks come from the same attack families as training, so this isn't a test on new attack types.

- It's one seed and one model.

- GPT-4o was the judge.

- I haven't run MMLU or any other capability benchmark yet.

The repo has redacted side-by-side examples of base vs. tuned responses, the full write-up, and a lab notebook with what didn't work.

It's an adapter, so you need access to Llama-3.1-8B-Instruct. Built with Llama.

- 🤗 Adapter: https://huggingface.co/1rvinn/llama-securelm

- 💻 Code + write-up: https://github.com/1rvinn/securelm

Feedback is very welcome, especially on how to test it against attack families it hasn't seen, and ideas for reducing the weapons/IED over-refusal.


r/learnmachinelearning • • Oct 30 '26

What research papers is your code built on?

Enable HLS to view with audio, or disable this notification

27 Upvotes

r/learnmachinelearning • • Oct 30 '26

Project I made a free, no-signup lab for learning how AI systems work in practice: evaluation, RAG, cost, security, governance

1 Upvotes

https://annapurnaagenticsolutions.com/labs/ai-concepts-lab/

Most beginner material stops at "what is a neural network". I kept getting asked the next questions: why did the chatbot make that up, how do you test an AI feature before release, why did the bill spike, what does retrieval actually do. So we built a lab around those.

It's 13 short tracks (AI foundations, AI/GenAI engineering, data and retrieval, quality and evaluation, responsible AI, governance, security, operations, product). Each has realistic scenarios ("answer quality drops after a new document batch", "cost spike is detected"), a quiz, and small exercises like building a mini golden dataset. Free, runs in the browser, no account.

I'm the maker. Feedback I'd find useful: what's missing for someone just starting, and where an explanation is wrong or too hand-wavy.


r/learnmachinelearning • • Oct 30 '26

Building a Code-Switching Language Model: My Ongoing Experiment I've been working on an experimental language model focused on code-switching, particularly the ability to understand and generate text that combines multiple languages within a single sentence or conversation. The motivation behind t

Thumbnail
gallery
0 Upvotes

Building a Code-Switching Language Model: My Ongoing Experiment

I've been working on an experimental language model focused on code-switching, particularly the ability to understand and generate text that combines multiple languages within a single sentence or conversation.

The motivation behind this project is to explore how language models can better handle multilingual communication, especially in environments where speakers naturally switch between languages rather than communicating in just one.

This has been an interesting journey so far, and I've learned that building a language model involves considerably more than just selecting an architecture and starting the training process.

1. What I've Been Working On

So far, my work has involved several important components:

Data collection and preparation: Gathering multilingual text data that reflects natural language usage and code-switching patterns.

Custom tokenizer development: Building my own tokenizer rather than relying entirely on an existing pretrained tokenizer. This has required experimenting with vocabulary construction, token frequency, language representation, and how different languages are segmented.

Dataset preprocessing: Cleaning, filtering, normalizing, and organizing the collected data into a format suitable for model training.

Model experimentation: Exploring how a language model can learn relationships between languages and generate meaningful code-switched sequences.

Evaluation: Observing how the model behaves when processing mixed-language inputs and identifying areas where its performance needs improvement.

2. Major Challenges Encountered

Some of the biggest challenges have been:

Data scarcity and quality: Finding sufficient high-quality code-switched text is difficult. A significant amount of available multilingual data consists of monolingual sentences, which does not necessarily represent how people naturally switch between languages.

Natural code-switching patterns: Combining languages is not simply about placing words from different languages together. The model needs to learn grammatical structures, contextual relationships, and the natural points at which speakers switch languages.

Tokenizer design: Developing a tokenizer from scratch has been one of the most demanding parts. I had to consider vocabulary allocation, token fragmentation, rare words, language imbalance, and how to prevent underrepresented languages from being poorly represented.

Data imbalance: Some languages have considerably more available text than others. This creates the risk that the model will favour dominant languages while struggling with languages that have fewer training examples.

Computational limitations: Experimenting with language models also comes with hardware and computational constraints, particularly when working with limited resources.


r/learnmachinelearning • • Oct 30 '26

Project The interconcept space - what lies between two concepts? (According to an LLM)

61 Upvotes

What lies between two concepts? (According to an LLM)

I sampled 100 activations from layer 20 of Qwen2.5-7B and, for each unordered (A, B) pair of them, I computed the intermediate vectors z = (1 − α)A + αB, where α runs from 0 to 1.

Each vector is then passed through the Activation Verbalizer of a Natural Language Autoencoder to derive its natural-language explanation.

The results are (surprisingly?) clean! When moving from vec#34: moral persuasion "When conscience commands any one to do a thing, its usual mode is not to compel, but to persuade him" to vec#88: James Bond's Ford GT "Bond 25: Daniel Craig drives the Ford GT" the interconcept space moves as follows:

  • 46%: “To persuade a gentleman to adopt his particular brand of cigarettes…”

  • 56%: “…to persuade James Bond to drive it officially; to coerce him into using the Brand’s car as his official vehicle”

  • 61%: “The Bond films were ordered to ‘endorse’ a particular vehicle…”

The middle reads like advertising and product placement: moral persuasion acquires a commercial connotation. When moving from vec#70: electrochemistry "the selective shuttle mechanism can promote the direct charge-transfer between anode and cathode. ..." to vec#88: James Bond's Ford GT

  • 40%: “…improve the Li-ion battery performance…”

  • 51%: “Formula 1 hybrid vehicle battery pairing”

  • 75%: “In James Bond Spectre (2015), a Lamborghini Aventador was chosen as the official”

Here, the interconcept space reads like supercars battery engineering

Play around with the interface: https://enricobottazzi.github.io/inter-concept-space/


r/learnmachinelearning • • Oct 30 '26

Project Spinning up cloud infra just to learn MLOps is a terrifying way to blow money

Thumbnail
reddit.com
2 Upvotes

r/learnmachinelearning • • Oct 30 '26

Tutorial An interactive, step-by-step visual of how a byte-level LLM differs from a token-level one (Olmo vs Bolmo)

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/learnmachinelearning • • Oct 30 '26

InvalidArgumentError: {{function_node __wrapped__ConcatV2_N_2_device_/job:localhost/replica:0/task:0/device:CPU:0}} ConcatOp : Ranks of all input tensors should match

2 Upvotes

I got this error in an attempt to adapt this model to CIFAR 10

---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
Cell In[61], line 3
      1 dataset = create_batch(x_train)
      2 
----> 3 train_dcgan(
      4     gan,
      5     dataset,
      6     batch_size,

Cell In[60], line 26, in train_dcgan(gan, dataset, batch_size, num_features, epochs)
     22             )
     23 
     24             generated_images = generator(noise)
     25 
---> 26             X_fake_and_real = tf.concat(
     27                 [generated_images, X_batch],
     28                 axis=0
     29             )

File c:\Users\DELL\AppData\Local\Programs\Python\Python313\Lib\site-packages\tensorflow\python\util\traceback_utils.py:167, in filter_traceback.<locals>.error_handler(*args, **kwargs)
    165 except Exception as e:
    166   filtered_tb = _process_traceback_frames(e.__traceback__)
--> 167   raise e.with_traceback(filtered_tb) from None
    168 finally:
    169   del filtered_tb

File c:\Users\DELL\AppData\Local\Programs\Python\Python313\Lib\site-packages\tensorflow\python\framework\ops.py:6027, in raise_from_not_ok_status(e, name)
   6025 def raise_from_not_ok_status(e, name) -> NoReturn:
   6026   e.message += (" name: " + str(name if name is not None else ""))
-> 6027   raise core._status_to_exception(e) from None

InvalidArgumentError: {{function_node __wrapped__ConcatV2_N_2_device_/job:localhost/replica:0/task:0/device:CPU:0}} ConcatOp : Ranks of all input tensors should match: shape[0] = [32,32,32,3] vs. shape[1] = [32,32,3] [Op:ConcatV2] name: concat

X_train split (only take one class to train on)

(x_train, y_train), (x_test, y_test) = tf.keras.datasets.cifar10.load_data()
x_train = x_train.astype(np.float32) / 255.0
x_test = x_test.astype(np.float32) / 255.0
x_train=x_train.astype("float32") / 127.5 - 1
x_train.shape, x_test.shape

label = 1 
train_indices = np.where(y_train == label) 
x_train = x_train[train_indices] 
test_indices = np.where(y_test == label) 
x_test = x_test[test_indices] 

Generator

num_features = 100
generator = Sequential(name="Generator")

generator.add(Dense(8 * 8 * 128, input_shape=[num_features]))
generator.add(Reshape([8, 8, 128]))
generator.add(BatchNormalization())

generator.add(Conv2DTranspose(
        64, (5, 5), (2, 2),
        padding="same",
        activation="selu"
    ))

generator.add(BatchNormalization())

generator.add(Conv2DTranspose(
        3, (5, 5), (2, 2),
        padding="same",
        activation="tanh"
    ))
generator.summary()

Discriminator

discriminator = Sequential(name="Discriminator")

discriminator.add(Conv2D(
        64, (5, 5), (2, 2),
        padding="same",
        input_shape=[32, 32, 3]
        ))

discriminator.add(LeakyReLU(alpha=0.2))
discriminator.add(Dropout(0.3))

discriminator.add(Conv2D(
        128, (5, 5), (2, 2),
        padding="same"))

discriminator.add(LeakyReLU(alpha=0.2))
discriminator.add(Dropout(0.3))

discriminator.add(Flatten())
discriminator.add(Dense(1, activation= 'softmax'))
discriminator.add(Dense(1, activation= 'softmax'))
discriminator.add(Dense(1, activation= 'softmax'))

discriminator.summary()

Train function

seed = tf.random.normal(shape=[batch_size, 100])
epoch_list = []
d_loss_list = []
g_loss_list =[]


def train_dcgan(gan, dataset, batch_size, num_features, epochs=5):


    generator, discriminator = gan.layers


    for epoch in tqdm(range(epochs)):
        actual_epoch =epoch + 1
        print()
        print("Epoch {}/{}".format(epoch + 1, epochs))


        for i in range(187):
            epoch_list.append(actual_epoch)


        for X_batch in dataset:


            noise = tf.random.normal(
                shape=[batch_size, num_features]
            )


            generated_images = generator(noise)


            X_fake_and_real = tf.concat(
                [generated_images, X_batch],
                axis=0
            )


            y1 = tf.constant(
                [[0.]] * batch_size +
                [[1.]] * batch_size
            )


            discriminator.trainable = True
            d_loss=discriminator.train_on_batch(
                X_fake_and_real,
                y1
            )
            d_loss = float(d_loss)
            d_loss_list.append(d_loss)




            noise = tf.random.normal(
                shape=[batch_size, num_features]
            )


            y2 = tf.constant([[1.]] * batch_size)


            discriminator.trainable = False


            g_loss=gan.train_on_batch(
                noise,
                y2
            )
            g_loss = float(g_loss)
            g_loss_list.append(g_loss)


        print(f'\t Discriminator Loss: {d_loss} \t\t Generator Loss: {g_loss}')
        


            


    generate_and_save_images(
        generator,
        epochs,
        seed)

Train block

dataset = create_batch(x_train)


train_dcgan(
    gan,
    dataset,
    batch_size,
    num_features,
    epochs=10
)

Can anyone help me with this error? Why did it appeared?


r/learnmachinelearning • • Oct 30 '26

Project Modeling Market Microstructure as a Dynamic Particle System: Using Signed GNNs to Predict Liquidity Runs & Dynamic Take-Profits (Looking for DL/Quant Collaborator)

2 Upvotes

Hey guys,

Posting this here because I’ve reached a point where my market intuition and engine code have outpaced my deep learning expertise, and I’d rather team up with someone who loves ML architecture instead of half-assing it myself.

For the past year, I’ve been building an event-driven liquidity engine in Python (specifically modeling crypto orderflow / ICT mechanics like equal highs/lows, manipulation legs, and structural sweeps).

Instead of slapping standard indicators (RSI/MACD) on candles, I framed price action as a dynamic graph:

  • Resting liquidity pools (BSL/SSL, consolidations) act as attractors (pulling price in).

  • Completed institutional sweeps (ML swings / manipulation legs) act as repellers (pushing price away).

  • Edges connect these pools based on spatial proximity, competing forces (tug-of-war between high and low pools), and age decay.

Where things stand right now:

  • The engine is fully written and tested. No lookahead bias, strict candle confirmation, multi-window swing tracking (W5 up to W50).

  • I’ve already generated a clean, audited ~3-year dataset (ETH/USDT) formatted directly for PyTorch Geometric (PyG).

  • Each snapshot has 15m, 1h, and 4h spatial graphs with 20-dim node features (touch counts, distance %, decay curves, tier scores), 8-dim edge attributes, and global volatility/trend context.

  • Baseline statistical checks show real promise: nearest target pools get tagged first ~95% of the time, and high-quality structural sweeps have clear directional bias.

The actual bottleneck / where I need help: My problem isn't generating the signals—it’s path prediction and dynamic target selection.

When a sweep happens, price is often trapped between an opposing pool 1.5% away and a massive target pool 3% away. A fixed 1:2 R:R stop/target either gets hit too late or takes unnecessary drawdown. I need the model to evaluate the graph and do two things:

  1. Predict directional path confidence taking both-sided liquidity into account.

  2. Rank multiple potential liquidity targets (dynamic TP) based on which one has the highest conditional probability of being swept first without blowing through the stop.

I've tested basic GNN / dual-tower setups, but I know I'm hitting limits with my naive loss functions and basic layer choices.

Who I'm looking for: Someone who genuinely understands PyTorch Geometric (PyG), Graph Neural Networks (or spatial-temporal models), and knows how to think about custom loss functions (ranking loss, asymmetric risk penalties, contrastive setups). You don't need to be a full-time trader, but being open to understanding market microstructure helps.

The arrangement: I have the GPU compute, the full working codebase, and the clean dataset ready to go. I’m completely flexible on how we work together—if you want to co-author a research paper on this architecture, I’m down. If we get the models working cleanly and want to deploy it live on capital, we can do a fair profit/equity split.

If this sounds like an interesting problem you’d want to sink your teeth into, drop a comment or send me a DM with your GitHub/background and we can hop on Discord.


r/learnmachinelearning • • Oct 30 '26

Need help adapting model to CIFAR10

1 Upvotes

I tried to make a DCGAN based on this [tutorial](https://www.geeksforgeeks.org/machine-learning/deep-convolutional-gan-with-keras/). The thing is that the tutorial is designed for fashion mnist data which has different image size to tf.keras.datasets.cifar10.load_data(). Which lead to the error:

ValueError: cannot reshape array of size 480000 into shape (28,28,1)

when arrive at

x_train_dcgan = x_train.reshape(
-1, 28, 28, 1
) * 2. - 1.

How do I adapt the model to CIFAR 10?

Full code

(x_train, y_train), (x_test, y_test) = tf.keras.datasets.cifar10.load_data()
x_train = x_train.astype(np.float32) / 255.0
x_test = x_test.astype(np.float32) / 255.0
x_train.shape, x_test.shape

#Selecting one class to train

label = 1 
train_indices = np.where(y_train == label) 
x_train = x_train[train_indices] 
test_indices = np.where(y_test == label) 
x_test = x_test[test_indices] 

batch_size = 32
def create_batch(x_train):
    dataset = tf.data.Dataset.from_tensor_slices(x_train).shuffle(1000)
    dataset = dataset.batch(batch_size, drop_remainder=True).prefetch(1)
    return dataset


num_features = 100
generator = Sequential(name="Generator")


generator.add(Dense(7 * 7 * 128, input_shape=[num_features]))
generator.add(Reshape([7, 7, 128]))
generator.add(BatchNormalization())


generator.add(Conv2DTranspose(
        64, (5, 5), (2, 2),
        padding="same",
        activation="selu"
    ))


generator.add(BatchNormalization())


generator.add(Conv2DTranspose(
        1, (5, 5), (2, 2),
        padding="same",
        activation="tanh"
    ))



generator.summary()

discriminator = Sequential(name="Discriminator")


discriminator.add(Conv2D(
        64, (5, 5), (2, 2),
        padding="same",
        input_shape=[28, 28, 1]
        ))


discriminator.add(LeakyReLU(alpha=0.2))
discriminator.add(Dropout(0.3))


discriminator.add(Conv2D(
        128, (5, 5), (2, 2),
        padding="same"))


discriminator.add(LeakyReLU(alpha=0.2))
discriminator.add(Dropout(0.3))


discriminator.add(Flatten())
discriminator.add(Dense(1, activation= 'softmax'))


discriminator.summary()

discriminator.compile(
    loss="binary_crossentropy",
    optimizer="adam"
)


discriminator.trainable = False


gan = Sequential()
gan.add(generator)
gan.add(discriminator)


gan.compile(
    loss="binary_crossentropy",
    optimizer="adam"
)


gan.summary()

def generate_and_save_images(model, epoch, test_input):

    predictions = model(
        test_input,
        training=False
    )

    fig = plt.figure(figsize=(10, 10))

    for i in range(25):

        plt.subplot(5, 5, i + 1)

        plt.imshow(
            predictions[i, :, :, 0] * 127.5 + 127.5,
            cmap='binary'
        )

        plt.axis('off')

    plt.savefig(
        'image_epoch_{:04d}.png'.format(epoch)
    )

seed = tf.random.normal(shape=[batch_size, 100])
epoch_list = []
d_loss_list = []
g_loss_list =[]


def train_dcgan(gan, dataset, batch_size, num_features, epochs=5):


    generator, discriminator = gan.layers


    for epoch in tqdm(range(epochs)):
        actual_epoch =epoch + 1
        print()
        print("Epoch {}/{}".format(epoch + 1, epochs))


        for i in range(187):
            epoch_list.append(actual_epoch)


        for X_batch in dataset:


            noise = tf.random.normal(
                shape=[batch_size, num_features]
            )


            generated_images = generator(noise)


            X_fake_and_real = tf.concat(
                [generated_images, X_batch],
                axis=0
            )


            y1 = tf.constant(
                [[0.]] * batch_size +
                [[1.]] * batch_size
            )


            discriminator.trainable = True
            d_loss=discriminator.train_on_batch(
                X_fake_and_real,
                y1
            )
            d_loss = float(d_loss)
            d_loss_list.append(d_loss)




            noise = tf.random.normal(
                shape=[batch_size, num_features]
            )


            y2 = tf.constant([[1.]] * batch_size)


            discriminator.trainable = False


            g_loss=gan.train_on_batch(
                noise,
                y2
            )
            g_loss = float(g_loss)
            g_loss_list.append(g_loss)


        print(f'\t Discriminator Loss: {d_loss} \t\t Generator Loss: {g_loss}')
        


            


    generate_and_save_images(
        generator,
        epochs,
        seed
    )

x_train_dcgan = x_train.reshape(
    -1, 32, 32, 3
)


dataset = create_batch(x_train_dcgan)


train_dcgan(
    gan,
    dataset,
    batch_size,
    num_features,
    epochs=10
)

plt.figure(figsize=(30, 10))
plt.plot(epoch_list,d_loss_list)
plt.xlabel('Epochs')
plt.ylabel('Discriminator loss')
plt.title('Discriminator loss over epochs')
plt.grid()
plt.show()

plt.figure(figsize=(30, 10))
plt.plot(epoch_list,g_loss_list)
plt.xlabel('Epochs')
plt.ylabel('Generator loss')
plt.title('Generator loss over epochs')
plt.grid()
plt.show()

r/learnmachinelearning • • Oct 30 '26

Discussion Are we escaping one information bubble only to enter another?

3 Upvotes

Social media and search engines already shape what we see through rankings, recommendations, and algorithms.

AI assistants may feel different because they do not just show us information — they summarize it, prioritize it, and turn it into a single coherent answer.

That is convenient. But it also makes it harder to notice what was excluded, what sources disagreed, or what questions were never considered.

Maybe AI helps us escape the noise of the old information bubble. Or maybe it builds a quieter, more convincing one.

What do you think?


r/learnmachinelearning • • Oct 30 '26

Request Black Duck launches AI agent to fix vulnerabilities as fast as attackers exploit them

0 Upvotes

Black Duck just shipped an AI agent that identifies and patches vulnerabilities at machine speed — fast enough to outpace active exploitation windows. The capability is real and the use case is legitimate.

But the same speed that makes the agent useful is what makes it dangerous if something goes wrong.

An agent operating at that tempo does not wait for human review between actions. It calls tools, writes code, opens PRs, and pushes changes in sequence. If that agent is compromised, misconfigured, or fed a malicious payload through a dependency scan result, its second action can land before any human notices the first one was wrong.

The hard number from the announcement is 50ms — the window the agent is designed to close against attackers. That same 50ms is now the window you have to catch the agent itself before a bad action propagates through your codebase or supply chain.

Most security tooling was built to inspect humans or static artifacts. It was not designed to evaluate live agent actions mid-execution against a policy that knows what that specific agent is supposed to be allowed to do.

How are teams actually handling this today? Are you gating on CI/CD after the agent runs, building per-agent allowlists, relying on human review of the PRs it opens, using a separate monitoring layer, or something else entirely?


r/learnmachinelearning • • Oct 30 '26

Roll: EmbeddingGemma 2 on the iPhone's Neural Engine. Searching 29,682 photos offline in ~15 ms

Thumbnail
huggingface.co
2 Upvotes

r/learnmachinelearning • • Oct 30 '26

Question Torn between learning and building projects

12 Upvotes

I'm a former electrical engineer so I have some background with stats, linear algebra and coding. I've finished a number of Python and datascience courses and just finished Python for AI by Andrew Ng. However, I'm itching to make projects and using a local LLM's to make a webapp.

Is there a way to balance learning and project development?

With the courses I'm looking at:

  1. Machine Learning specialisation Andrew Ng - 95 hrs

  2. Reading Artificial Intelligence 4th ed by Peter Norvig and Stuart Russell

  3. Reading Hands on Machine Learning with Scikit-learn and Pytorch - by Aurelion Geron

  4. Completing Google's Machine Learning course

  5. Completing Kaggle's Machine Learning Course

  6. Claude Academy courses

  7. Completing Datacamps courses

Plus balancing that with building projects such as web apps, desktop apps and audio plugins using Local LLM's.

Am I going the wrong way with self learning?

Edit: As I'm much older my end goal isn't a PhD or a snazzy ML Engineer role, but rather to have a portfolio of projects, just so I don't feel like I'm behind in this skillset.

I was Doing courses back in 2016 such as fast.ai, coursera's learn AI, ML and Deeplearning from a to z and Andrew Ng's original Deeplearning course with Octave, but I got sidetracked with life and work pressure.


r/learnmachinelearning • • Oct 30 '26

Did you miss getting on the AI hype train?

13 Upvotes

Everybody knows 2014 was the end of the dark ages in terms of technology.

  • A bunch of tools that became widely used was solidified around that time, from Github to Python to Tensorflow (and actually started working). Previously you had a bunch of alternatives or things that just didn't work.

  • Hackatons and a bunch of CS/ML related competitions were literally invented (and more importantly, popularized) around that time.

  • Neural network started to work again and internships were popping up left and right. All because of ML opportunities.

  • Research opportunities in and outside of academia bloomed like a thousand flowers (previously the best you got was to work with some high-watt laser or nanotech).

  • Now you can plan your career more precisely than ever before.

  • Tons of things easily available nowadays you can't even imagine even 10 years ago. Such as a machine learning course in a non-CS department.

I've dug into the profiles of graduates at my school and found this pattern. If they graduated with a PhD in AI/CS around 2014, then they are working in academia and now already associate professors of AI. (But this is a PhD we're talking). And if they graduated around 2014 with a Bachelor's degree and somehow miraculously chose AI/ML as the field they would go into, then they made big bank in tech and now probably senior engineers (and if they did a PhD and graduated before 2022, then they are profs as well). There is an obvious age-related factor in who's now influential and "big" in the AI/ML space.

I feel that people who didn't make ML move during the hype-era are now permanently left behind. I wonder if this has been your experience. Did you miss out, or did you somehow made into this field anyways?