packages/core/src/architectures/bloom.js (194 lines of code) (raw):
// NOTE: This file has been auto-generated. Do not edit directly.
export default {
model_type: "bloom",
models: [
{
model_id: "Xenova/bloom-560m",
dtype: "quantized",
architectures: ["BloomForCausalLM"],
ops: [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"CumSum",
"DequantizeLinear",
"Div",
"DynamicQuantizeLinear",
"Equal",
"Expand",
"Gather",
"If",
"Less",
"MatMul",
"MatMulInteger",
"Mul",
"Not",
"Or",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze",
"Where",
],
},
{
model_id: "Xenova/bloom-560m",
dtype: "fp32",
architectures: ["BloomForCausalLM"],
ops: [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"CumSum",
"Div",
"Equal",
"Expand",
"Gather",
"If",
"Less",
"MatMul",
"Mul",
"Not",
"Or",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze",
"Where",
],
},
{
model_id: "hf-internal-testing/tiny-random-BloomForCausalLM",
dtype: "fp32",
architectures: ["BloomForCausalLM"],
ops: [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"CumSum",
"Div",
"Equal",
"Expand",
"Gather",
"Identity",
"Less",
"MatMul",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Squeeze",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze",
"Where",
],
},
{
model_id:
"onnx-internal-testing/tiny-random-BloomForSequenceClassification-ONNX",
dtype: "fp32",
architectures: ["BloomForSequenceClassification"],
ops: [
"Add",
"ArgMax",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"CumSum",
"Div",
"Equal",
"Expand",
"Flatten",
"Gather",
"Greater",
"Identity",
"MatMul",
"Mod",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Trilu",
"Unsqueeze",
"Where",
],
},
{
model_id:
"onnx-internal-testing/tiny-random-BloomForTokenClassification-ONNX",
dtype: "fp32",
architectures: ["BloomForTokenClassification"],
ops: [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"CumSum",
"Div",
"Equal",
"Expand",
"Gather",
"Greater",
"Identity",
"MatMul",
"Mul",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Trilu",
"Unsqueeze",
"Where",
],
},
],
};