mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-16 16:18:08 +08:00
Add llms subdir + update README (#145)
* add llms subdir + update README * nits * use same pre-commit as mlx * update readmes a bit * format
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import argparse
|
||||
from transformers import AutoModelForCausalLM
|
||||
import json
|
||||
|
||||
import numpy as np
|
||||
import torch
|
||||
import json
|
||||
from transformers import AutoModelForCausalLM
|
||||
|
||||
|
||||
def replace_key(key: str) -> str:
|
||||
|
@@ -1,6 +1,7 @@
|
||||
import argparse
|
||||
from dataclasses import dataclass
|
||||
import json
|
||||
from dataclasses import dataclass
|
||||
|
||||
import mlx.core as mx
|
||||
import mlx.nn as nn
|
||||
from mlx.utils import tree_unflatten
|
||||
|
Reference in New Issue
Block a user