Skip to content

Commit edecddb

Browse files
committed
add paddlenlp for embedding
1 parent 8c89e90 commit edecddb

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

modelcache/embedding/fasttext.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
Alipay.com Inc.
4-
Copyright (c) 2004-2023 All Rights Reserved.
5-
------------------------------------------------------
6-
File Name : fasttext.py
7-
Author : fuhui.phe
8-
Create Time : 2023/12/3 15:40
9-
Description : description what the main function of this file
10-
Change Activity:
11-
version0 : 2023/12/3 15:40 by fuhui.phe init
12-
"""
132
import numpy as np
143
import os
154
from modelcache.utils import import_fasttext

modelcache/embedding/paddlenlp.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
Alipay.com Inc.
4-
Copyright (c) 2004-2023 All Rights Reserved.
5-
------------------------------------------------------
6-
File Name : paddlenlp.py
7-
Author : fuhui.phe
8-
Create Time : 2023/12/7 20:43
9-
Description : description what the main function of this file
10-
Change Activity:
11-
version0 : 2023/12/7 20:43 by fuhui.phe init
12-
"""
132
import numpy as np
143

154
from modelcache.embedding.base import BaseEmbedding

0 commit comments

Comments
 (0)