Skip to content

Instantly share code, notes, and snippets.

@asterfinde
asterfinde / 1-exam.md
Created October 19, 2025 03:29 — forked from primaryobjects/1-exam.md
Oracle Cloud Infrastructure 2024 Generative AI Professional 1Z0-1127-24 Practice Exam Questions https://medium.com/code-like-a-girl/i-passed-the-oracle-generative-ai-professional-exam-heres-what-i-learned-bdf28be53864

How are documents usually evaluated in the simplest form of keyword-based search? According to the length of the documents Based on the number of images and videos contained in the documents By the complexity of language used in the documents ** Based on the presence and frequency of the user-provided keywords

When is fine-tuning an appropriate method for customizing a Large Language Model (LLM)? When you want to optimize the model without any instructions When the LLM requires access to the latest data for generating outputs ** When the LLM does not perform well on a task and the data for prompt engineering is too large

@asterfinde
asterfinde / vite-testing-config.md
Created May 5, 2023 20:39 — forked from Klerith/vite-testing-config.md
Vite + Jest + React Testing Library - Configuraciones a seguir

Instalación y configuracion de Jest + React Testing Library

En proyectos de React + Vite

  1. Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react 
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
  1. Opcional: Si usamos Fetch API en el proyecto:
import { ObjectId } from "bson"
let movies
let mflix
const DEFAULT_SORT = [["tomatoes.viewer.numReviews", -1]]
export default class MoviesDAO {
static async injectDB(conn) {
if (movies) {
return